Searching for cards that start with a letter

Support Ticket

+status
 

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.

--Ethan McCutchen.....2014-01-24 22:08:37 +0000

That seems to do it. What does "complete" actually tell it to do?

--Lora Friedenthal.....2014-01-24 23:01:37 +0000

I have another search question. Is there a setting that if a search has 0 results, it shows nothing instead of saying "0 results"?

--Lora Friedenthal.....2014-01-25 00:02:41 +0000

No, but you can use CSS to make that not show up.

--John Abbe.....2014-01-25 00:20:23 +0000

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?

--Lora Friedenthal.....2014-01-25 01:45:47 +0000

Yes. you should be able to construct a selector for the CSS directive that only applies to Search cards in that context.

--John Abbe.....2014-01-25 02:58:11 +0000