So what I wanted to do was turn my list of characters into a dynamic list that would update and alphabetize itself as people are added using certain cardtypes. I figured the syntax would look something like
"type":"Major Character", "name":"A*"}
which would be all the cards of the type Major Character whose name starts with A. Because on the actual display page, I want to have the sections separated by letter for easier viewing. However, that search does not work. I think because * is not a functional thing? Is there a way to do what I'm after?
The easiest thing would be something like "complete":"a", which is what the navbox uses. You could also look into "match", but that one would probably require digging into both wagn code and mysql, as it's not very well fleshed out yet.
That seems to do it. What does "complete" actually tell it to do?
I have another search question. Is there a setting that if a search has 0 results, it shows nothing instead of saying "0 results"?
No, but you can use CSS to make that not show up.
Okay. So let's say I wanted to do that. But I don't want every search card to not say 0 results, just the ones that appear in a certain spot. Can I have a stylesheet that applies to only one card (the card on which all the searches are included?
Yes. you should be able to construct a selector for the CSS directive that only applies to Search cards in that context.