Tankōbon / hooks/use-library-rows / useLibraryRows
Function: useLibraryRows()
useLibraryRows(
entries,filters,grouped,sort):LibraryRows
Defined in: hooks/use-library-rows.ts:36
Filters, sorts and groups the library for the page. filters is meant to be the deferred copy of the page's state, so typing in the search field never waits for this. The folded series are kept for the life of the page only, a new key (a series renamed) starting unfolded.
Parameters
entries
filters
grouped
boolean
sort
"lastOpened" | "addedDesc" | "addedAsc" | "releaseDesc" | "releaseAsc" | "titleAsc" | "titleDesc"