LP#1576435: Force "Include inactive patrons?" on patron reg duplicate search In the XUL client, duplicate patron checking in the patron registration interface now includes inactive patrons (see LP#1217052). However, if you click on the link "Found X patron(s) with the same name," the resulting patron search does not always include inactive patrons by default (instead, the value of the "Include inactive patrons?" checkbox is cached from your last patron search, as usual). To prevent user confusion in this scenario, this commit forces the linked patron search in the XUL client to always include inactive patrons. Signed-off-by: Jeff Davis <jdavis@sitka.bclibraries.ca> Signed-off-by: Bill Erickson <berickxx@gmail.com> Signed-off-by: Kathy Lussier <klussier@masslnc.org>
LP#1359934: prevent error opening patron search form As a result of the patch for OpenSRF bug 1316245, JSON2js in the OpenSRF library is now stricter -- in particular, passing an undefined value to it results in an exception being thrown. This patch runs with the increased strictness and fixes an issue where the patron search form was passing an undefined value to JSON2js. Signed-off-by: Galen Charlton <gmc@esilibrary.com> Signed-off-by: Ben Shum <bshum@biblio.org>
LP#1086458: clean up after event listeners in circ/patron interface Upon window unload, now removes event listeners, both ones explicitly created by the page JavsScript as well as ones created by util.list, util.controller, and persist_helper(). The same approach of defining cleanup fnctions used by unload events can be applied to the rest of the staff client, but this patch focuses on circulation first. Signed-off-by: Galen Charlton <gmc@esilibrary.com> Signed-off-by: Ben Shum <bshum@biblio.org>
patch from James Fournie re: https://bugs.launchpad.net/evergreen/+bug/510959 for improved patron opt-in Signed-off-by: Jason Etheridge <jason@esilibrary.com>
fix error with profile filter and horizontal patron search interface git-svn-id: svn://svn.open-ils.org/ILS/trunk@19885 dcc99617-32d9-48b4-a31d-7c20da2025e4
Normalize patron profile search function in "Search for Patrons" UI Use util.widgets.make_menulist for a more consistent approach to generating the menulist and use a row/label/hbox layout to normalize the appearance of the patron profile filter in the search menu. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19727 dcc99617-32d9-48b4-a31d-7c20da2025e4
Apply patch to add a patron profile filter to the "Search for Patrons" UI Thanks to Michael Peters <mrpeters@library.in.gov> and Thomas Berezansky <tsbere@mvlc.org> for their work on this additional functionality to the patron search UI, supplied as a patch in LP# 715837. git-svn-id: svn://svn.open-ils.org/ILS/trunk@19726 dcc99617-32d9-48b4-a31d-7c20da2025e4
Change each tab to 4 spaces in the staff client javascript files. Did this to effect the change: find . -name '*.js' -exec sed -i 's/\t/ /g' {} \; Statements like dump('\t\tFoo\n'); are unaffected. I imagine we'll need to realign and reindent things as we encounter visual ugliness. git-svn-id: svn://svn.open-ils.org/ILS/trunk@14577 dcc99617-32d9-48b4-a31d-7c20da2025e4
eh, still didn't think it through. so much for one changeset :) git-svn-id: svn://svn.open-ils.org/ILS/trunk@13609 dcc99617-32d9-48b4-a31d-7c20da2025e4
didn't mean to leave param2 and param3 in there git-svn-id: svn://svn.open-ils.org/ILS/trunk@13608 dcc99617-32d9-48b4-a31d-7c20da2025e4
Not tested, but let the keys 'search_limit' and 'search_sort' be useable in the JSON-encoded 'query' object that pre-populates the search fields in search_form.xul when spawned by say, the patron editor git-svn-id: svn://svn.open-ils.org/ILS/trunk@13607 dcc99617-32d9-48b4-a31d-7c20da2025e4
Use Unicode-friendly regular expressions for registering and retrieving patrons by name This enables patrons with names like Étienne or ԱԲԳԱՐ to be registered and retrieved git-svn-id: svn://svn.open-ils.org/ILS/trunk@13263 dcc99617-32d9-48b4-a31d-7c20da2025e4
Username and library card fields for patron search git-svn-id: svn://svn.open-ils.org/ILS/trunk@11807 dcc99617-32d9-48b4-a31d-7c20da2025e4
add "alias" column to actor.usr; add patron search field for new "alias" column; hey, I even used the dtd! :) git-svn-id: svn://svn.open-ils.org/ILS/trunk@11127 dcc99617-32d9-48b4-a31d-7c20da2025e4
Patch from Craig Ricciuto to bring i18n to the patron staff client interfaces git-svn-id: svn://svn.open-ils.org/ILS/trunk@9970 dcc99617-32d9-48b4-a31d-7c20da2025e4
UI for patron search range. Still need to work out some wonkyness with stickyness of the dropdown menu git-svn-id: svn://svn.open-ils.org/ILS/trunk@7672 dcc99617-32d9-48b4-a31d-7c20da2025e4
broken xulG/cgi conversion. CGI .keys scared me away from xul_param earlier git-svn-id: svn://svn.open-ils.org/ILS/trunk@7335 dcc99617-32d9-48b4-a31d-7c20da2025e4
destroy deck contents more frequently with patron search, lest staff keep a tab open forever git-svn-id: svn://svn.open-ils.org/ILS/trunk@6277 dcc99617-32d9-48b4-a31d-7c20da2025e4
tweaks to search input filter git-svn-id: svn://svn.open-ils.org/ILS/trunk@5529 dcc99617-32d9-48b4-a31d-7c20da2025e4
only filter [^\w\s] with names on patron search git-svn-id: svn://svn.open-ils.org/ILS/trunk@5496 dcc99617-32d9-48b4-a31d-7c20da2025e4