Dear Perchance Dev. Please add the ability to sort not only by Prompt and NegativePrompt, but also by SaveTitle and SaveDescription 🙏
Dear Perchance Dev. Please add the ability to sort not only by Prompt and NegativePrompt, but also by SaveTitle and SaveDescription 🙏
7 Comments
Tod_1ncignito@lemmy.world · 1 pts · 117d
If you mean a public gallery or public generators or such, you'd need to add the script details yourself but you could shlap something like this in.
Nice simple generic search thingy, but then you kinda have to hope that they have tags or references to filter. This is just a scuffy sample but, its a simple start if you want to use it and work from. You need to populate the
handleFilter(this.value)andhandleSort(this.value)to work depending on how you want to use it, i left them empty so you can work away with it.qinerous@lemmy.world · 2 pts · 116d
Are you sure these are built-in functions of plugin? I tried using
handleFilter(this.value)andhandleSort(this.value), but I got an error saying that there are no such functions. Without the actual code for these functions, it won't workTod_1ncignito@lemmy.world · 1 pts · 116d
Oh those are just place holders for setting up a search for yourself, i just gave you a rough wireframe start to work with. Like i said some people might not tag or add references or descriptions into their uploads so it might not find everything which isnt a bad thing, just shows nobody is adding tags or details or such.
ccufcc@lemmy.world · 1 pts · 117d
How do we sort that? From A-Z ?
qinerous@lemmy.world · 1 pts · 117d
I meant in words. For example, show only posts that include "Drawn Anime" in the SaveDescription or something like this
ccufcc@lemmy.world · 2 pts · 117d
This looks like gallery searching or tag/label filter rather than sorting 🐯
qinerous@lemmy.world · 2 pts · 116d
yep