Projet

Général

Profil

Actions

Anomalie #1677

fermé

404 error on members search dropdown

Ajouté par Guillaume AGNIERAY il y a environ un an. Mis à jour il y a environ un an.

Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Catégorie:
Core
Version cible:
-
Début:
14/03/2023
Echéance:
% réalisé:

100%

Temps estimé:
Version utilisée:

Description

I think following the recent changes to make Galette run again from a subdirectory, the error formerly fixed with 7de8985b is back :s

Mis à jour par Johan Cwiklinski il y a environ un an

Indeed, I'm not surprised even if I must admit I forgot that point ^^

I'll take a look

Mis à jour par Johan Cwiklinski il y a environ un an

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).

Mis à jour par Johan Cwiklinski il y a environ un an

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.

Mis à jour par Guillaume AGNIERAY il y a environ un an

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 !

Mis à jour par Johan Cwiklinski il y a environ un an

  • Statut changé de Nouveau à Résolu
  • % réalisé changé de 0 à 100

Mis à jour par Johan Cwiklinski il y a environ un an

  • Statut changé de Résolu à Fermé
Actions

Formats disponibles : Atom PDF