Bug 6554: Followup for serial search
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 28 Mar 2013 12:23:08 +0000 (13:23 +0100)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Mon, 1 Apr 2013 22:51:50 +0000 (18:51 -0400)
Adds decoding for title, publisher and vendor.

Test plan:
Go to serials.
Search for a diacritic in title. Check.
Go to Advanced search (in Serials). Search for diacritic in title, vendor or
publisher. Check.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Works ok, no errors.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
serials/serials-search.pl

index bc84ed6..de26736 100755 (executable)
@@ -38,10 +38,13 @@ use C4::Serials;
 
 my $query         = new CGI;
 my $title         = $query->param('title_filter') || '';
+utf8::decode($title);
 my $ISSN          = $query->param('ISSN_filter') || '';
 my $EAN           = $query->param('EAN_filter') || '';
 my $publisher     = $query->param('publisher_filter') || '';
+utf8::decode($publisher);
 my $bookseller    = $query->param('bookseller_filter') || '';
+utf8::decode($bookseller);
 my $biblionumber  = $query->param('biblionumber') || '';
 my $branch        = $query->param('branch_filter') || '';
 my $routing       = $query->param('routing') || C4::Context->preference("RoutingSerials");