funmaker / Hybooru

Hydrus-based booru-styled imageboard in React
https://booru.funmaker.moe/
MIT License
95 stars 15 forks source link

MOTD multiple tag support #3

Closed Wyrrrd closed 3 years ago

Wyrrrd commented 3 years ago

I want to filter out full comic pages from motd, but the tags.motd setting seems to support only one positive tag. When I add a whitespace or dash to that string, the motd disappears after reload.

"tags.motd": "one" - works "tags.motd": "one two" - does not work "tags.motd": "-one" - does not work "tags.motd": "one -two" - does not work

Unsure if this works as intended... If yes, you could add a short info to config docs.

funmaker commented 3 years ago

Yes, this is intended behavior. motd support only a single tag pattern, not a full query. I'll make it more explicit in README.md.