fixed a funny error that was preventing paths from being searched =)

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-11-27 13:34:51 +03:00
parent 5bf57405df
commit 2ee080fcaa
2 changed files with 4 additions and 1 deletions

View File

@ -495,6 +495,7 @@ module.BaseStore = {
//*/ //*/
var {text, tags} = update var {text, tags} = update
text = [ text = [
'',
path, path,
(text (text
&& typeof(text) != 'function') ? && typeof(text) != 'function') ?
@ -504,7 +505,8 @@ module.BaseStore = {
'#'+ tags.join(' #') '#'+ tags.join(' #')
: '', : '',
].join('\n\n') ].join('\n\n')
;(await data).add(path, update.text) ;(await data)
.add(path, text)
// handle changes... // handle changes...
//this.__search.options.__save_changes.call(this, name, 'update', path, update) //this.__search.options.__save_changes.call(this, name, 'update', path, update)
return data }, return data },

View File

@ -37,6 +37,7 @@
* - * -
* *
* *
* XXX sort: aliases (a-la imagegrid???)
* XXX sort: revise how we store order... * XXX sort: revise how we store order...
* .metadata.order = [ .. ] * .metadata.order = [ .. ]
* .metadata.order_<name> = [ .. ] * .metadata.order_<name> = [ .. ]