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)
committerBill Erickson <berickxx@gmail.com>
Wed, 14 Feb 2018 18:17:46 +0000 (13:17 -0500)
commit226424b31ab7410fd21bbe9b31e88c8369f8f32c
tree8939f2dae88965d9e526964bc4d88378c7b6a3d0
parentff19f677e8781618f582249a1452f5872e2c27b6
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