Blog Sections Open
Using DLRequest to Drive DocLister Sorting and Display from GET and POST
A practical article on DLRequest as a wrapper for clean request-driven DocLister filters, sort controls, and pagination state.
DocLister becomes much more flexible when the listing can react to request parameters such as sort field, sort direction, and display count. the article introduced DLRequest as a helper layer for building those controls safely instead of wiring raw request logic into every listing by hand.
What it solves
- Mapping allowed request values to real DocLister parameters.
- Keeping only the parameters you actually want to preserve between page changes.
- Building select controls for sorting and display limits without trusting arbitrary input.
Why it is useful
A good listing UI needs more than one hard-coded configuration. Editors and visitors often need to switch sort order, change the number of visible items, or keep filters while moving through pages. DLRequest makes that workflow structured instead of improvised.
The key benefit is defensive control over request parameters. Rather than letting the URL define any value at all, you expose only the options your listing supports and translate them into safe DocLister settings.
Filtering Ditto Results by Checkbox TV Values
How to use checkbox TVs as filter inputs for Ditto listings in Evolution CMS without breaking the selected values.
Restricting AjaxSearch Results to Selected Parent Sections
How to make AjaxSearch search only within selected parent resources in Evolution CMS.