Changes for page Per Status

From version 61.1
edited by Andrea Omicini
on 16/10/2021 00:58
Change comment: There is no comment for this version
To version 62.1
edited by Andrea Omicini
on 16/10/2021 00:59
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -70,7 +70,7 @@
70 70   #set( $sql = $from + " where " + $where )
71 71   #set( $pubFound = $xwiki.searchDocuments($sql) )
72 72   #set( $pubStatusNo = $pubFound.size() )
73 - #if( $pubStatusNo )
73 + #if( $pubStatusNo > 0 )
74 74   #if( !$oneStatus )
75 75  (% style="border-style:solid hidden hidden solid; border-color:silver; text-align:left; font-style:oblique" %)|{{id name='$sort'/}}{{pubStatus plural='true' uppercase='true'}}$status{{/pubStatus}}{{id name="$status"/}}
76 76   #end