Closed frowenz closed 11 months ago
This pull request addresses a bug that was introduced that broke searching then sorting.
The following line of code in src/templates/base.html changed the requirements of the search form.
src/templates/base.html
<!-- Name must remain as "q" as django-machina expects that name --> <input id="query-input" name="q" type="text" placeholder="Search..." />
What was occuring: ..../search/?query_type=games&query=the... What needed to occur: ..../search/?query_type=games&q=the...
..../search/?query_type=games&query=the...
..../search/?query_type=games&q=the...
In order to fix this issue, changes were made to the files involved in sorting so that the search form was resubmitted with the proper parameters.
This pull request addresses a bug that was introduced that broke searching then sorting.
The following line of code in
src/templates/base.html
changed the requirements of the search form.What was occuring:
..../search/?query_type=games&query=the...
What needed to occur:..../search/?query_type=games&q=the...
In order to fix this issue, changes were made to the files involved in sorting so that the search form was resubmitted with the proper parameters.