问题
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