Skip to content

Inconsistent Encoding of Credit Symbol #1008

@infinitenutshell

Description

@infinitenutshell

To search for the credit symbol in card text, you sometimes need to write "credit" and sometimes need to write "credits", apparently based on whether the accompanying numeral is a 1 or not. The current functionality arguably matches how you'd read the ability out loud, but it feels somewhat arbitrary. (This might have to do with how stripped text is generated; please feel free to transfer this issue to the card-JSON repository if that's a more useful place to handle it.)

For example, I was trying to look at "clearance" effects, so I searched for x:"credit and draw" (i.e. the common substring I expected "Gain N{c} and draw M cards." abilities to have) and got these results: https://netrunnerdb.com/find/?q=x%3A%22credit+and+draw%22&sort=name&view=images&_locale=en
I was surprised to find so few, and it turned out most of them only show up on a search for x:"credits and draw", which gives these results: https://netrunnerdb.com/find/?q=x%3A%22credits+and+draw%22&sort=name&view=images&_locale=en
I tested on both the old search and the new search and got the same results.

I'm not sure whether to call this a bug report or a feature request, but ideally I would be able to find all instances of the symbol with a consistent search string. Maybe both "credit" and "credits" should work, if that's not too hard to implement?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions