projects
/
webpac
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee8d094
)
improvement: path limit in URL works without full result display
author
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 8 Dec 2004 18:24:24 +0000
(18:24 +0000)
committer
Dobrica Pavlinusic
<dpavlin@rot13.org>
Wed, 8 Dec 2004 18:24:24 +0000
(18:24 +0000)
git-svn-id: file:///home/dpavlin/private/svn/webpac/trunk@600
13eb9ef6
-21d5-0310-b721-
a9d68796d827
WebPac.pm
patch
|
blob
|
history
diff --git
a/WebPac.pm
b/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 {