If you go to http://app.collegeconnect.ph/sortsearch?sortby=HightoLow&rankingsortby=HightoLow&searchItem=&criteria=
Use the "Tuition Fees Range" filter (click any option, though I would recommend the first or second one), then click Apply Filter. You will see the search results AND the search form at the top.
Click "Clear" under the Tuition Fees Range filter and then click Apply Filter.
The search form at the top disappears and you just see the buttons that control the forms.
Chrome console shows the following errors:
Uncaught SyntaxError: Unexpected token ,
Uncaught ReferenceError: openCity is not defined
at HTMLButtonElement.onclick (sortsearch?sortby=HightoLow&rankingsortby=HightoLow&searchItem=&criteria=:92)
at sortsearch?sortby=HightoLow&rankingsortby=HightoLow&searchItem=&criteria=:1495
Uncaught SyntaxError: Unexpected token }
Basically, a person MUST select an option under the Tuition Fees Range filter in order for the the search form to show. Not sure how get the search form to show even if the filter is cleared and a person uses the other filters.
Here's the code for the searchController: https://paste.ee/p/jE6DR
the blade file: https://paste.ee/p/5pY7W
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire