Drupal View display - setting a limit for the query results

血红的双手。 提交于 2019-12-12 12:31:07

问题


I have a View set to grab the latest forum posts. That's working fine, but I'd like to limit it to get the last 5 records only. I know I can display only 5 with PHP but I don't want a larger query than I need. I can't find any option for this in the View.

thanks


回答1:


Yep. There is an option that limits it called 'Items to display:' under Basic Settings.



来源:https://stackoverflow.com/questions/2566958/drupal-view-display-setting-a-limit-for-the-query-results

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!