Bug 9132: Paging through OPAC authority search results does not work
authorFridolyn SOMERS <fridolyn.somers@biblibre.com>
Fri, 23 Nov 2012 11:13:44 +0000 (12:13 +0100)
committerJared Camins-Esakov <jcamins@cpbibliography.com>
Wed, 28 Nov 2012 13:13:18 +0000 (08:13 -0500)
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Fixes paging in authority result list in OPAC.
All tests pass.
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
opac/opac-authorities-home.pl

index 5656228..115012e 100755 (executable)
@@ -90,7 +90,13 @@ if ( $op eq "do_search" ) {
         $displaynext = 1;
     }
 
-    my @field_data = ( { term => "marclist" , val => $query->param("marclist") || ''} );
+    my @field_data = (
+        { term => "marclist",  val => $marclist[0] },
+        { term => "and_or",    val => $and_or[0] },
+        { term => "excluding", val => $excluding[0] },
+        { term => "operator",  val => $operator[0] },
+        { term => "value",     val => $value[0] },
+    );
 
     my @numbers = ();