s4

changeset 573:9a4504aef7ac

Narrow the blog range at listblog for user's blog
author HIROSE Yuuji <yuuji@gentei.org>
date Thu, 25 Apr 2019 10:22:17 +0900
parents 95f2b54ea6d5
children e4e207222ee9
files s4-blog.sh
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/s4-blog.sh	Wed Apr 24 12:31:28 2019 +0900
     1.2 +++ b/s4-blog.sh	Thu Apr 25 10:22:17 2019 +0900
     1.3 @@ -976,12 +976,12 @@
     1.4    # $1={user,group}
     1.5    qow=`sqlquote $1`
     1.6    cond="where a.id in (select id from blog_s where key='owner' and val=$qow) order by ctime desc"
     1.7 -  DT_CHLD=article:blogid
     1.8    cgi_form searchart<<EOF
     1.9  <label>`cgi_text kwd`という語を含む記事をこの一覧から検索</label>
    1.10  `cgi_hidden owner $user`
    1.11  EOF
    1.12 -  dumptable html blog 'ctime title heading' "$cond"
    1.13 +  DT_CHLD=article:blogid DT_QOWNER=$qow \
    1.14 +	 dumptable html blog 'ctime title heading' "$cond"
    1.15  )
    1.16  
    1.17  blog_addentry() {