Shared helpers for table sorting, pagination, and basic search filters across web UIs.
This namespace centralizes parsing of table-related query parameters so that all modules use the same semantics for sorting and paging. It also provides small helpers for generic search/filter parameters that feature modules can interpret according to their own needs.
TableQuery shape: {:sort :name ; keyword column identifier (or default) :dir :asc ; :asc or :desc :page 1 ; 1-based page index :page-size 20 ; items per page :offset 0 ; derived from page/page-size :limit 20} ; derived from page-size
Shared helpers for table sorting, pagination, and basic search filters across web UIs.
This namespace centralizes parsing of table-related query parameters so that
all modules use the same semantics for sorting and paging. It also provides
small helpers for generic search/filter parameters that feature modules can
interpret according to their own needs.
TableQuery shape:
{:sort :name ; keyword column identifier (or default)
:dir :asc ; :asc or :desc
:page 1 ; 1-based page index
:page-size 20 ; items per page
:offset 0 ; derived from page/page-size
:limit 20} ; derived from page-size
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |