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:21:14 +0000 (06:21 -0700)
commit407afa040870ec3c797396a48ffc93fba9e80434
treeddd748c753c06fa737f34c365a0da262f12aa8ec
parent359a2e26deb2472b43235538e4d5332b78c40065
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