LP#1378383-WebStaff Fix Item circ history to obey max setting
authorCesar Velez <Cesar.Velez@equinoxinitiative.org>
Thu, 21 Sep 2017 14:45:23 +0000 (15:45 +0100)
committerJason Etheridge <jason@EquinoxInitiative.org>
Sun, 17 Dec 2017 18:52:52 +0000 (13:52 -0500)
commit1e111dede283983bed2f031cb9ed86db0d2e100e
tree8939f2dae88965d9e526964bc4d88378c7b6a3d0
parent9a7e27bbe1cef474f6ac1d9d51b87a05faa81fce
LP#1378383-WebStaff Fix Item circ history to obey max setting

The circ.item_checkout_history.max lib setting should be respected
in both Circ History tabs, and also check for the permission to
VIEW_COPY_CHECKOUT_HISTORY for the current user.

Also, There was ambiguity for the user to tell the difference
(from the displayed message) if an item truly has no circulations,
or if they see no circs due to the relevant permission setting
being set to 0 (Maximum previous checkouts.) This changes the templates
a bit to make that clearer.

Signed-off by: Cesar Velez <cesar.velez@equinoxinitiative.org>

Signed-off-by: Jason Etheridge <jason@EquinoxInitiative.org>
Open-ILS/src/templates/staff/cat/item/t_circ_list_pane.tt2
Open-ILS/src/templates/staff/cat/item/t_circs_pane.tt2
Open-ILS/web/js/ui/default/staff/cat/item/app.js