]> git.evergreen-ils.org Git - working/Evergreen.git/commit
TPAC: Add "preferred search location" preference setting
authorDan Scott <dan@coffeecode.net>
Wed, 28 Dec 2011 23:42:18 +0000 (18:42 -0500)
committerJason Stephenson <jstephenson@mvlc.org>
Thu, 29 Dec 2011 15:13:34 +0000 (10:13 -0500)
commit67a2606376232fec9d2803a30f146f4176695402
treec01f94947668de1ca0c2b1ba231b790eab5939e8
parent611b4b1ab4b586a815bb4035bf141438c5939b46
TPAC: Add "preferred search location" preference setting

Working towards parity with the JSPAC, give the user the ability to set
their preferred search library in account preferences via the org
selector. The value defaults to the user's home OU.

Also set a sane default of 10 search results per page in the absence of
any preference, as the default had been set to 5.

While we're in there, remove some of the inline styles and weird markup
in the user preference page, and refactor the O:W:EGCatLoader:Account
module to accept an easily-appended list of preferences to be set.

Signed-off-by: Dan Scott <dan@coffeecode.net>
Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm
Open-ILS/src/templates/opac/myopac/prefs_settings.tt2