You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make the total value in the distribution page be the total value for items in the category if filtering by category
Make the total value in the distribution page be the total value for the selected item if filtering by item
Why?
Matches up with the number of items column where we do the same thing
Details
To get to this screen: login as [email protected]
then click Distributions
Note the number of items and values
the filter by item category
The number of items column changes to match items in the distributions that are in the item category
The total values column doesn't.
Similarly for filtering by items.
When subsetting the distributions according to what items they contain (either by item category or by item), the values in the total values heading should reflect only those items, and the header should match.
That means:
When filtering by item category, the total values column heading should change to "Total Value for category [category name]", and the values in it (including the totals) should be the totals for only the items in the item category chosen.
When filtering by item , the total values column heading should change to "Total Value of [item name]", and the values in it (including the totals) should be the totals for only the item chosen.
Should someone choose to filter by both, use the headers as if they were filtering by item. This makes sense because there will be at most the items belonging to that item (you see, there may be no overlap between the category and the item if both were chosen, in which case there would be no distriibutions in the filter.)
Criteria for completion
behaviour as described above
tests to support the behaviour
The text was updated successfully, but these errors were encountered:
Summary
Make the total value in the distribution page be the total value for items in the category if filtering by category
Make the total value in the distribution page be the total value for the selected item if filtering by item
Why?
Matches up with the number of items column where we do the same thing
Details
To get to this screen: login as [email protected]
then click Distributions
Note the number of items and values
the filter by item category
The number of items column changes to match items in the distributions that are in the item category
The total values column doesn't.
Similarly for filtering by items.
When subsetting the distributions according to what items they contain (either by item category or by item), the values in the total values heading should reflect only those items, and the header should match.
That means:
When filtering by item category, the total values column heading should change to "Total Value for category [category name]", and the values in it (including the totals) should be the totals for only the items in the item category chosen.
When filtering by item , the total values column heading should change to "Total Value of [item name]", and the values in it (including the totals) should be the totals for only the item chosen.
Should someone choose to filter by both, use the headers as if they were filtering by item. This makes sense because there will be at most the items belonging to that item (you see, there may be no overlap between the category and the item if both were chosen, in which case there would be no distriibutions in the filter.)
Criteria for completion
The text was updated successfully, but these errors were encountered: