[open-ils-commits] r10633 - in trunk/Open-ILS:
src/perlmods/OpenILS/Application/Search web/opac/skin/default/js
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Sep 18 10:20:02 EDT 2008
Author: dbs
Date: 2008-09-18 10:20:01 -0400 (Thu, 18 Sep 2008)
New Revision: 10633
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm
trunk/Open-ILS/web/opac/skin/default/js/rresult.js
Log:
Move ISSN hyphen filtering from client side to search method
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm 2008-09-18 12:51:05 UTC (rev 10632)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Search/Biblio.pm 2008-09-18 14:20:01 UTC (rev 10633)
@@ -1390,6 +1390,7 @@
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) };
Modified: trunk/Open-ILS/web/opac/skin/default/js/rresult.js
===================================================================
--- trunk/Open-ILS/web/opac/skin/default/js/rresult.js 2008-09-18 12:51:05 UTC (rev 10632)
+++ trunk/Open-ILS/web/opac/skin/default/js/rresult.js 2008-09-18 14:20:01 UTC (rev 10633)
@@ -188,7 +188,7 @@
}
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();
More information about the open-ils-commits
mailing list