Skip to main content
zerotal

Documentation


Documentation / @zerotal/admin / index / VIEW_PARAMS

Variable: VIEW_PARAMS

const VIEW_PARAMS: readonly ["search", "filters", "tab", "sortBy", "sortDir", "sort", "trashed", "perPage", "cols", "group"]

Defined in: admin/src/savedViews.ts:52

The query-string keys a saved view carries.

Deliberately explicit rather than "everything in the URL": a saved view should restore how the list was shaped, not which page of it happened to be open, so page is excluded and a restored view always starts at the top.