Project

General

Profile

Actions

Anomalie #1677

closed

404 error on members search dropdown

Added by Guillaume AGNIERAY about 1 year ago. Updated about 1 year ago.

Status:
Fermé
Priority:
Normal
Assignee:
-
Category:
Core
Target version:
-
Start date:
03/14/2023
Due date:
% Done:

100%

Estimated time:
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

Actions #1

Updated by Johan Cwiklinski about 1 year ago

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

I'll take a look

Actions #2

Updated by Johan Cwiklinski about 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).

Actions #3

Updated by Johan Cwiklinski about 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.

Actions #4

Updated by Guillaume AGNIERAY about 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 !

Actions #5

Updated by Johan Cwiklinski about 1 year ago

  • Status changed from Nouveau to Résolu
  • % Done changed from 0 to 100
Actions #6

Updated by Johan Cwiklinski about 1 year ago

  • Status changed from Résolu to Fermé
Actions

Also available in: Atom PDF