TAMULib / CAP

MIT License
3 stars 2 forks source link

[D-01255] Metadata on scope not updating when add/removed until page refresh #119

Closed kaladay closed 5 years ago

kaladay commented 5 years ago

The structure of the count objects do not delete anything to ensure the scope is never lost for the counts. A refresh action is needed to ensure that once a change is made, re-calculate all count objects. The repository view section directive must also handle this refresh behavior. An additional structure is added so that the totals for a given namespace predicate set can be processed without any additional loops.

By utilizing the $watch on the list object in the repository view section directive, the counts will effectively refreshed as if the broadcast was directly processed.

ghost commented 5 years ago

Please look here to see how to maintain the binding. https://github.com/TAMULib/CAP/pull/121

ghost commented 5 years ago

Closing in favor of https://github.com/TAMULib/CAP/pull/121