#1 2024-01-08 17:32:53

Ralf
Member
Dorsten-Lembeck
2012-05-08
235

Search in this Set / Piwigo 14

Hi,

just updated Piwigo yesterday.
Piwigo 14 introduces a new search functionality "Search in this set".

There seems to be a problem when using "user friendly urls" - especially when this is set in local files editor:
$conf['question_mark_in_urls'] = false;

Whith this enabled and you choose for example "Search for words" - the search loads forever.

Setting the above to true immediatly solves the problem.

Any ideas how to get this working without the question marks in urls?

Cheers
Ralf


There are only two kinds of music:
Rock and Roll

https://www.ralf-kerkhoff.de

Offline

 

#2 2024-02-14 21:11:56

tarka0
Member
2024-01-21
9

Re: Search in this Set / Piwigo 14

temporary fix, works for me:

file: include/functions_url.inc.php
function make_index_url($params = array())
before line 159 (return $url;)
I have inserted:

  if (!$conf['question_mark_in_urls'] && str_contains($url, 'index/search'))
  {
    $url = str_replace('index/search', 'index?/search', $url);
  }

Offline

 

Board footer

Powered by FluxBB

github twitter newsletter Donate Piwigo.org © 2002-2025 · Contact