Anomalie #1677
closed404 error on members search dropdown
100%
Description
I think following the recent changes to make Galette run again from a subdirectory, the error formerly fixed with 7de8985b is back :s
Updated by Johan Cwiklinski over 1 year ago
Indeed, I'm not surprised even if I must admit I forgot that point ^^
I'll take a look
Updated by Johan Cwiklinski over 1 year ago
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).
Updated by Johan Cwiklinski over 1 year ago
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.
Updated by Guillaume AGNIERAY over 1 year ago
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 !
Updated by Johan Cwiklinski over 1 year ago
- Status changed from Nouveau to Résolu
- % Done changed from 0 to 100
Appliqué par commit 73fc5dcb828452b2aa34a7fbad3f48c2ca34ab3d.