Closed GalenReich closed 1 month ago
Hi, can I try to solve this? Thanks :)
Hi @NauelSerraino, that would be great, thank you! 🙌 I'll assign this issue to you. Hopefully there isn't any hidden complexity, but feel free to share any issues you have, and do tag me in your PR when it's ready. I can also unassign you if you need to stop working on it for any reason.
Hi @GalenReich I'm working on the issue, since the TEXT_SEARCH_FILING_CATEGORIES_MAPPING does not affect the search results, is it ok to simple substitute the TEXT_SEARCH_CATEGORY_FORM_GROUPINGS inside the filing_type?
Or is more reasonable to create a new argument within the text search?
I've currently adopted the latter and the text_search works fine with both &category=...
and &forms=...
evaluated
I couldn't see any effects of the category
parameter, and it sounds like you haven't either, which gives me confidence that it isn't doing anything, so I'd be happy with its removal!
Currently, the category argument is passed to the API as a URL parameter derived from the
TEXT_SEARCH_FILING_CATEGORIES_MAPPING
:&category=form-cat3
which doesn't appear to affect the search results.
Instead the
TEXT_SEARCH_CATEGORY_FORM_GROUPINGS
should be used to set theforms
URL parameter instead.&forms=10-12B,10-12G,18-12B,20FR12B, ...
Additionally, perhaps the users should be able to set the forms directly - either providing a Category from the mapping, or a list of forms of interest.