forked from OpenNeo/impress
Emi Matchu
3781c9810a
A query like this works for finding items containing "hat" that fit alt style #87296 (the Faerie Acara): http://localhost:3000/items?q%5B0%5D%5Bkey%5D=name&q%5B0%5D%5Bvalue%5D=hat&q%5B1%5D%5Bkey%5D=fits&q%5B1%5D%5Bvalue%5D%5Bspecies_id%5D=1&q%5B1%5D%5Bvalue%5D%5Bcolor_id%5D=8&q%5B1%5D%5Bvalue%5D%5Balt_style_id%5D=87296 But there's two main missing pieces still: 1. You can't do a text-filter version of this—in fact, clicking Search immediately on the page this loads will return an error! 2. We haven't extended this to the `with_appearances_for` parameter, so we add a `NotImplementedError` to that bit for now too. I'm also thinking that the text filter should ideally be like, `fits:nostalgic-faerie-acara` if we can pull it off; and then fall back to the plainer `fits:alt-style-87296` if e.g. we don't know the set it's from yet. |
||
---|---|---|
.. | ||
assets | ||
controllers | ||
helpers | ||
javascript | ||
mailers/fundraising | ||
models | ||
services | ||
views |