Oh, that seems a cool thing
I didn’t explore the Metadata Menu because the first time I tried it seems some “buggy” with a list of values in fields (mainly with inline fields).
About your question, I guess you can try something like:
Thanks! That works great. Metadata Menu seems pretty powerful. Just the ability to change data from the dv table is huge. Examples: changing priority on my #active list, changing ratings on my books list, etc. And I haven’t even messed with the FileClass feature. That looks super cool.
Is it possible to sort on multiple things? Ideally, secondarily the rows would be sorted by last modified.
About the Metadata plugin, I need to explore it. But I noticed one thing: if in any dataview output we have the file link, then we can use the right-click in the link and choose “Manage fields” command to update any existent field in that file…
About your question, I’m not versed in js side, but, considering the @holroy tips in other post, I guess you can use two sort functions, starting from the less important. Something like:
You don’t happen to know where I would add omits, do you?
Sorry to keep pestering. I was just wrapping my head around regular DV when I found Metadata Menu, and it’s just too powerful. DVJS is definitely a full step ahead of me.
Evaluation Error: TypeError: fieldContainer.setAttr is not a function
at fieldModifier (plugin:metadata-menu:8854:18)
at eval (plugin:metadata-menu:9087:41)
at eval (eval at <anonymous> (plugin:dataview), <anonymous>:6:11)
at Array.map (<anonymous>)
at Proxy.map (plugin:dataview:11738:39)
at eval (eval at <anonymous> (plugin:dataview), <anonymous>:4:105)
at eval (eval at <anonymous> (plugin:dataview), <anonymous>:10:6)
at DataviewInlineApi.eval (plugin:dataview:15671:16)
at evalInContext (plugin:dataview:15672:7)
at asyncEvalInContext (plugin:dataview:15679:16)
Another question, why do you introduce the await Promise.All() into the mix? Is that a requirement of the metadata plugin? (I’ve not looked into that plugin, so my responses so far are based on general javascript knowledge)