Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-11-27 13:43:40 +03:00
parent 2ee080fcaa
commit 1591abe0fa
2 changed files with 5 additions and 3 deletions

View File

@ -719,8 +719,6 @@ module.BaseStore = {
// NOTE: this performs a natural sort, i.e. numbers in strings are
// treated as numbers and not as strings of characters making
// "page2" precede "page10".
//
// XXX should this be an index/cached??
__sort_method__: {
// NOTE: path/location are special cases as they do not transform
// the path -- they are hard-coded in .sort(..)...

View File

@ -37,7 +37,8 @@
* -
*
*
* XXX sort: aliases (a-la imagegrid???)
*
* XXX sort: aliases (a-la imagegrid)???
* XXX sort: revise how we store order...
* .metadata.order = [ .. ]
* .metadata.order_<name> = [ .. ]
@ -50,6 +51,9 @@
* }
* ...this would make updating order more complicated (i.e. require a fetch)
* Q: will it be a good idea to use the cache/index api???
* XXX sort: might be a good idea to pre-sort (index) all the pages and
* simply reference that for sorts...
* ...this needs thought and weighing...
* XXX macros: else/default macro args essentially mean the same thing, should we
* unify them to use the same name???
* XXX parser: error handling: revise page quoting...