corbin-hayden13 / SD-Lora-Tagger

A Search Engine For All Your Local Extra Networks (in AUTOMATIC1111/stable-diffusion-webui and vladmandic/automatic)
MIT License
11 stars 2 forks source link

Javascript search override for searching by more than one tag #5

Closed corbin-hayden13 closed 7 months ago

corbin-hayden13 commented 7 months ago

You can only search by one tag at a time currently due to the way the javascript searches search_terms for tags using something like visible if search_terms.indexOf(tag) !== -1 else invisible.

This would require a way to differentiate between major distributions of the AUTOMATIC1111/stable-diffusion-webui due to the way javascript global method overloading works, which I have tested and confirmed works via moving the proper javascript file from a staging folder to the extension's javascript directory, but wanted to avoid due to read/write restrictions I've encountered using the AUTOMATIC1111/stable-diffusion-webui