ppypp伦理天堂,91手机在线视频,免费在线观看黄色毛片,夜夜穞天天穞狠狠穞AV美女按摩

聯系官方銷售客服

1835022288

028-61286886

投訴 已解決 搜索頁如何排除字段數值為空或者為0的數據呢 10 0

讓模塊數據按指定字段數值的大小排序,如何排除字段數值為空或者為0的數據呢?

http://www.zbshanke.com/doc/1214.html

我用文檔里面的方法成功實現了,但是他也會顯示數值為空的數據,導致從小到大的排序毫無意義。

請問怎么排除為空或者為0的數據,按有數值的數據從小到大來排序?

以下是我現在的代碼

<a href="{Router::search_url($params, 'order', 'y2023_asc')}" class="mr20 fll tab posr {if $params.order=='y2023_asc'}on{/if}">排行榜</a>

{search module=MOD_DIR id=$searchid total=$sototal order=$params.order catid=$catid page=1 pagesize=16 urlrule=$urlrule}

具體內容

{/search}

解決方案