LP#1901072 Menus Don't Recognize Max Recent Patrons Setting
authorDan Briem <dbriem@wlsmail.org>
Sat, 4 Mar 2023 21:10:44 +0000 (21:10 +0000)
committerJane Sandberg <js7389@princeton.edu>
Wed, 10 May 2023 13:08:34 +0000 (06:08 -0700)
commit1608860dc3376201c224a3d032e61fd4dfd3ba26
tree5250b4fc4f64a90333e3c7fc75f4af3a8c5473f8
parent483757bc507345013e58571ef1a8e89c11a998ac
LP#1901072 Menus Don't Recognize Max Recent Patrons Setting

On the Angular menu, both Retrieve Last Patron and Recent Patrons
links appear under Circulation, regardless of what the "Number of
Retrievable Recent Patrons" setting is set to.

On both the AngularJS and Angular menus, both links appear under
Circulation (Experimental).

On the Angular menu, Circulation->Retrieve Recent Patrons links
to the Angular interface instead of the AngularJS interface.

To test this fix:
1. Set Enable Angular Circulation Menu setting to True
2. Set Number of Retrievable Recent Patrons setting to 0
   - Retrieve Last Patron and Recent Patrons links don't appear
3. Set to 1 or unset (default fallback is 1)
   - Retrieve Last Patron link appears only
4. Set to greather than 1
   - both links appear
   - Circulation->Retrieve Recent Patrons loads the AngJS interface

Signed-off-by: Dan Briem <dbriem@wlsmail.org>
Signed-off-by: Susan Morrison <smorrison@georgialibraries.org>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Open-ILS/src/eg2/src/app/staff/nav.component.html
Open-ILS/src/eg2/src/app/staff/nav.component.ts
Open-ILS/src/templates/staff/navbar.tt2