changeset 826:f2d69fb3e038

Link to group list in other world with kwd
author HIROSE Yuuji <yuuji@gentei.org>
date Sun, 21 Jun 2020 10:08:12 +0900
parents e9817a71f332
children 97be0474f268
files s4-world.sh
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/s4-world.sh	Sun Jun 21 09:50:32 2020 +0900
+++ b/s4-world.sh	Sun Jun 21 10:08:12 2020 +0900
@@ -203,9 +203,11 @@
     read ans
     if [ -n "$ans" ]; then
       w=`echo $wname|htmlescape`
+      u="<a href=\"$cgi?grps\"><span class=\"pre\">$w</span></a>"
+      s="(<a href=\"$cgi?stage=grps&kwd=$kwd\">絞込</a>)"
       cat<<-EOF
 	<tr>
-	 <tr><td><a href="$cgi?grps"><span class="pre">$w</span></a></td>
+	 <tr><td>$u $s</td>
 	 <td>$ans</td>
 	</dl>
 	EOF
@@ -227,7 +229,7 @@
     worldname=${wd%:*}
     d=${wd#*:}
     if [ ! $db -ef $d -a -s $d ]; then
-      grepgrpworld "$world" "$worldname" "$1" "$d" "$cond"
+      grepgrpworld "$world" "$worldname" "$arg" "$d" "$cond"
     fi
   done | {
     result=`cat`

yatex.org