[open-ils-commits] [GIT] Evergreen ILS branch rel_2_3 updated. 89898e7bdb8e6d38aa93ccaf045abe2de917fad8
Evergreen Git
git at git.evergreen-ils.org
Wed Jun 12 17:54:45 EDT 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".
The branch, rel_2_3 has been updated
via 89898e7bdb8e6d38aa93ccaf045abe2de917fad8 (commit)
from b8e64dbd70608ea91432a9b8fff5d956d3eb7a7d (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 89898e7bdb8e6d38aa93ccaf045abe2de917fad8
Author: Mike Rylander <mrylander at gmail.com>
Date: Tue Apr 30 16:45:55 2013 -0400
Search clicked /and/ preceding sf values
When looking for authority records to control a bib field, we currently
search using exactly, and only, the subfield that was clicked. This
commit changes that so that the full field up to and including the clicked
subfield is used in the simple authority heading search we perform to find
the best-match (pivot) authority record.
Signed-off-by: Mike Rylander <mrylander at gmail.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous at esilibrary.com>
diff --git a/Open-ILS/xul/staff_client/server/cat/marcedit.js b/Open-ILS/xul/staff_client/server/cat/marcedit.js
index 9e85116..186e360 100644
--- a/Open-ILS/xul/staff_client/server/cat/marcedit.js
+++ b/Open-ILS/xul/staff_client/server/cat/marcedit.js
@@ -1716,10 +1716,17 @@ function browseAuthority (sf_popup, menu_id, target, sf, limit, page) {
page = 0;
}
+ var sf_string = '';
+ var sf_list = sf.parent().subfield;
+ for ( var i in sf_list) {
+ sf_string += sf_list[i].toString() + ' ';
+ if (sf_list[i] === sf) break;
+ }
+
var url = '/opac/extras/browse/marcxml/'
+ type + '.refs'
+ '/1' // OU - currently unscoped
- + '/' + sf.toString()
+ + '/' + sf_string
+ '/' + page
+ '/' + limit
;
-----------------------------------------------------------------------
Summary of changes:
Open-ILS/xul/staff_client/server/cat/marcedit.js | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
hooks/post-receive
--
Evergreen ILS
More information about the open-ils-commits
mailing list