Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% paginate craft.entries({
- section : 'dealDirectory',
- limit : pageSize,
- startDate : '<=' ~ now
- }) as pageInfo, dealEntries %}
- {% paginate craft.entries({
- section : 'dealDirectory',
- limit : pageSize,
- startDate : '<=' ~ now
- endDate : '>=' ~ now
- }) as pageInfo, dealEntries %}
- {% paginate craft.entries({
- section : 'dealDirectory',
- limit : pageSize,
- startDate : '<=' ~ now
- endDate : '>= ' ~ now ~ 'or is null' // but this syntax incorrect
- }) as pageInfo, dealEntries %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement