]> git.evergreen-ils.org Git - Evergreen.git/commit
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:20 +0000 (06:21 -0700)
commit4bb0c6ac2a7dadfc919c2d3ec14ccd0a4df123f0
tree6880e27cade65dd79f0cc544e5fd35e78a5d42a1
parented22f11962f601f08ee7059f2256e1d42a396a05
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