use IsisDB module instead of OpenIsis -- this will fix various problems in
[webpac] / WebPac.pm
index ca02296..d6337b3 100644 (file)
--- a/WebPac.pm
+++ b/WebPac.pm
@@ -324,12 +324,13 @@ sub show_results_list {
 
        # construct swish query
        my $sw_q = join(" and ",@s_arr);
-       if (@path_arr && $q->param('show_full')) {
+       if (@path_arr) {
                $sw_q .= "and (swishdocpath=\"";
                $sw_q .= join("\" or swishdocpath=\"",@path_arr);
                $sw_q .= "\")";
-               $tmpl->param('full',1); # show full records
-       } elsif ($q->param('show_full')) {
+       }
+
+       if ($q->param('show_full')) {
                # just show full path, no path defined
                $tmpl->param('full',1);
        } else {