[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] Trackers: Autocomplete search is inconsistent with the main Find button
Benoit Grégoire (@benoitg) via TikiWiki-cvs <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <68a495151917d_2c104cbc403b0@gitlab-sidekiq-low-urgency-cpu-bound-v2-7d84497f66-pbgwr.mail> |
Benoit Grégoire pushed to branch master at Tiki Wiki CMS Groupware / Tiki
Commits:
1ffba124 by MAGENE Sem Joel at 2025-08-19T15:06:10+00:00
[FIX] Trackers: Autocomplete search is inconsistent with the main Find button
---
* [FIX] tracker: Autocomplete search is inconsistent with main Find button and should use a contains logic
See merge request tikiwiki/tiki!8183
- - - - -
1 changed file:
- lib/trackers/trackerlib.php
Changes:
=====================================
lib/trackers/trackerlib.php
=====================================
@@ -3906,7 +3906,7 @@ class TrackerLib extends TikiLib
//FIXME: perm filter ?
$result = $this->fetchAll(
'SELECT `name` FROM `tiki_trackers` WHERE `name` LIKE ?',
- [$name . '%'],
+ ['%' . $name . '%'],
10
);
$names = [];
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/1ffba124212680458a2bed6b3a03ef1ef6cc80de
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/1ffba124212680458a2bed6b3a03ef1ef6cc80de
You're receiving this email because of your account on gitlab.com.
_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs