/[webpac]/branches/drustvene/WebPac.pm
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /branches/drustvene/WebPac.pm

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 458 by dpavlin, Tue Sep 21 16:53:44 2004 UTC revision 601 by dpavlin, Wed Dec 8 18:45:32 2004 UTC
# Line 324  sub show_results_list { Line 324  sub show_results_list {
324    
325          # construct swish query          # construct swish query
326          my $sw_q = join(" and ",@s_arr);          my $sw_q = join(" and ",@s_arr);
327          if (@path_arr && $q->param('show_full')) {          if (@path_arr) {
328                  $sw_q .= "and (swishdocpath=\"";                  $sw_q .= "and (swishdocpath=\"";
329                  $sw_q .= join("\" or swishdocpath=\"",@path_arr);                  $sw_q .= join("\" or swishdocpath=\"",@path_arr);
330                  $sw_q .= "\")";                  $sw_q .= "\")";
331                  $tmpl->param('full',1); # show full records          }
332          } elsif ($q->param('show_full')) {  
333            if ($q->param('show_full')) {
334                  # just show full path, no path defined                  # just show full path, no path defined
335                  $tmpl->param('full',1);                  $tmpl->param('full',1);
336          } else {          } else {

Legend:
Removed from v.458  
changed lines
  Added in v.601

  ViewVC Help
Powered by ViewVC 1.1.26