# HG changeset patch # User HIROSE Yuuji # Date 1674971313 -32400 # Node ID c2fc7a148d2c7aeafdc6c49d487042589c4b0eae # Parent 70d9e8f1a85a77de08b8b6413a29ea028e20c589 Suppress post-count in non-member group diff -r 70d9e8f1a85a -r c2fc7a148d2c s4-funcs.sh --- a/s4-funcs.sh Sun Jan 29 14:38:28 2023 +0900 +++ b/s4-funcs.sh Sun Jan 29 14:48:33 2023 +0900 @@ -2940,9 +2940,11 @@ cond="where a.id in (select id from blog_s where key='owner' and val=$qgrp) order by 稼動状態, ctime desc" colstate="state:稼動状態:frozen=rowclass=凍結" frzbtn='' + if [ -n "$ismember" ]; then + DT_COUNT=author DT_COUNT_HEADER="書" DT_COUNT_BY=$user + fi DT_CHLD=article:blogid \ DT_QOWNER="$qgrp" \ - DT_COUNT=author DT_COUNT_HEADER="書" DT_COUNT_BY=$user \ DT_VIEW=replyblog dumptable html blog \ "ctime title heading team notify:通知$colmd $colstate" "$cond" \ | if [ -n "$iamowner" ]