revno: 21162
committer: Morten Olav Hansen
branch nick: dhis2
timestamp: Mon 2015-11-23 14:21:18 +0700
message:
minor fixes, update AttributeService.updateAttributeValues() to support a
list of AttributeValue directly, means it can la
revno: 21161
committer: Morten Olav Hansen
branch nick: dhis2
timestamp: Mon 2015-11-23 13:52:49 +0700
message:
remove AttributeUtils.updateAttributeValues, now exists in AttributeService,
updated attributeValues collections to be cas
Hi all,
I am having some hassles setting up data approval on our South African
instances and due to the limited setup of data approval on SL Demo cannot
really test properly if this is a generic problem or datafile related so
decided to describe the issue we have here first before logging a bug
re
revno: 21160
committer: Morten Olav Hansen
branch nick: dhis2
timestamp: Mon 2015-11-23 13:05:02 +0700
message:
rewrite of save/update attribute values from actions, wip
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/attribute
revno: 21159
committer: Morten Olav Hansen
branch nick: dhis2
timestamp: Mon 2015-11-23 09:54:19 +0700
message:
helper method to get unique AV from idObject
modified:
dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/BaseIdentifiabl
revno: 21158
committer: Morten Olav Hansen
branch nick: dhis2
timestamp: Mon 2015-11-23 09:31:01 +0700
message:
minor fix
modified:
dhis-2/dhis-support/dhis-support-system/src/main/java/org/hisp/dhis/system/util/AttributeUtils.java
revno: 21157
committer: Morten Olav Hansen
branch nick: dhis2
timestamp: Mon 2015-11-23 08:05:22 +0700
message:
minor fixes related to renaming of TEI.attributeValues =>
TEI.trackedEntityAttributeValues
modified:
dhis-2/dhis-api/sr
revno: 21156
committer: Markus Bekken
branch nick: dhis2
timestamp: Sun 2015-11-22 22:25:25 +0100
message:
Note support for table data entry in TC
added:
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracker-capture/views/l
revno: 21155
committer: Markus Bekken
branch nick: dhis2
timestamp: Sun 2015-11-22 21:50:10 +0100
message:
Better support for entering events in table-view mode
modified:
dhis-2/dhis-web/dhis-web-apps/src/main/webapp/dhis-web-tracke
revno: 21154
committer: Markus Bekken
branch nick: dhis2
timestamp: Sun 2015-11-22 19:47:25 +0100
message:
minor fix, checking F_TRACKED_ENTITY_INSTANCE_SEARCH_IN_ALL_ORGUNITS didnt
work in advanced search
modified:
dhis-2/dhis-web
Hi,
I am using ID. Tracker apps do not support across instances. Not sure if we
have an app that supports across instances.
Whenever an ID is changed - it is like a new meta-data and the practice so
far is to clear cache and download the new meta-data.
---
Thank you,
Abyot.
On Sun, Nov 22, 201
Right, that makes sense. My knowledge about the whole tracker is fairly
limited.
I'll ask Abyot at some point how he handles that :)
On Sun, Nov 22, 2015 at 1:36 PM, Morten Olav Hansen
wrote:
>
> On Sun, Nov 22, 2015 at 7:21 PM, Mark Polak wrote:
>
>> The ID might not be the same across instan
Like Morten says, lodash.groupBy is probably better, (if you using that
already)
The ID might not be the same across instances? So if it needs to work
across instances that won't work?
On Sun, Nov 22, 2015 at 1:13 PM, Morten Olav Hansen
wrote:
> Personally I wouldn't create the map based on na
On Sun, Nov 22, 2015 at 7:21 PM, Mark Polak wrote:
> The ID might not be the same across instances? So if it needs to work
> across instances that won't work?
>
Sure, but you don't have any guarantee about anything like that, not name,
age, etc.. nothing is created for you. You need synchronised
Personally I wouldn't create the map based on names, since they could
potentially change, better to use the ID.
Simplest way of doing this I can think of is using lodash (which you
probably use anyways) and do:
const groupedById = _.groupBy(o.attributes, "id");
--
Morten
On Sun, Nov 22, 2015 a
Hey Knut, Araz,
The order for arrays is guaranteed according to the JSON standard i
believe. However for the objects property order is not. (Just like in
Javascript)
But we (DHIS2) don't seem to always return the array in the same order from
the server side, so in that case you can't really trus
Hi Knut,
What are you using for parsing JSON (which library)?
In general you should never rely on order of items in JSON. It is better to
interpret it as a "map" rather than "list".
Best Regards,
Araz
On Sun, Nov 22, 2015 at 7:32 AM, Knut Staring wrote:
>
> Below is a patient tracked entity i
17 matches
Mail list logo