Anomalie #1677
closed
404 error on members search dropdown
Added by Guillaume AGNIERAY over 1 year ago.
Updated over 1 year ago.
Description
I think following the recent changes to make Galette run again from a subdirectory, the error formerly fixed with 7de8985b is back :s
Indeed, I'm not surprised even if I must admit I forgot that point ^^
I'll take a look
I took a quick look, and I can propose a fix, see https://github.com/galette/galette/pull/269.
Anyways, I'm not very happy with that; preventing send of the first (empty) query would probably be better, but I did not find how to achieve that. Returning false
instead of setting an hardcoded value does the trick, the ajax call is not done; but already loaded members list does not show neither (ie. drodown is empty in that case).
I've just commited a better solution on github PR. If there is no search term, I remove the /{query}
part of the URL, it seems it does the trick.
Johan Cwiklinski a écrit (#note-3):
I've just commited a better solution on github PR. If there is no search term, I remove the /{query}
part of the URL, it seems it does the trick.
Perfect !
- Status changed from Nouveau to Résolu
- % Done changed from 0 to 100
- Status changed from Résolu to Fermé
Also available in: Atom
PDF