From: dbs Date: Thu, 18 Sep 2008 14:25:54 +0000 (+0000) Subject: Merge c10633 from trunk: Move ISSN hyphen filtering from client side to search method X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=429f427e0d71c3146c0f0e5dbe6417f6df5ce8a1;p=Evergreen.git Merge c10633 from trunk: Move ISSN hyphen filtering from client side to search method git-svn-id: svn://svn.open-ils.org/ILS/branches/rel_1_2_3@10634 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm b/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm index 848b1acc2e..c49e23df5d 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm @@ -1392,6 +1392,7 @@ sub biblio_search_issn { my( $self, $client, $issn ) = @_; $logger->debug("Searching ISSN $issn"); my $e = new_editor(); + $issn =~ s/-/ /g; my $recs = $U->storagereq( 'open-ils.storage.id_list.biblio.record_entry.search.issn.atomic', $issn ); return { ids => $recs, count => scalar(@$recs) }; diff --git a/Open-ILS/web/opac/skin/default/js/rresult.js b/Open-ILS/web/opac/skin/default/js/rresult.js index bb02135aa0..39b7301e23 100644 --- a/Open-ILS/web/opac/skin/default/js/rresult.js +++ b/Open-ILS/web/opac/skin/default/js/rresult.js @@ -184,7 +184,7 @@ function rresultCollectTCNIds() { } function rresultCollectISSNIds() { - var req = new Request(FETCH_ADV_ISSN_RIDS, (getAdvTerm()+'').replace(/-/g,' ')); + var req = new Request(FETCH_ADV_ISSN_RIDS, getAdvTerm() ); req.callback( function(r) { var blob = r.getResultObject();