Fix MKWS-284 ("facet widgets fails in koha")
[pazpar2-moved-to-github.git] / js / pz2.js
index fb6264c..ab45cc0 100644 (file)
--- a/js/pz2.js
+++ b/js/pz2.js
@@ -319,7 +319,8 @@ pz2.prototype =
                         .childNodes[0].nodeValue == "OK" ) {
                     context.searchStatusOK = true;
                     //piggyback search
-                    context.show(start, num, sort);
+                    if (context.showCallback)
+                        context.show(start, num, sort);
                     if (context.statCallback)
                         context.stat();
                     if (context.termlistCallback)