[TikiWiki-commits] [Git][tikiwiki/tiki][29.x] [BP][FIX] Tiki log search system is not able to find users or IP

"Elifeleti Mukisa Dan \(@Danelif\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <690c9e586f130_2c114755c841ab@gitlab-sidekiq-low-urgency-cpu-bound-v2-6b66cd94f-7l8zg.mail>

Elifeleti Mukisa Dan pushed to branch 29.x at Tiki Wiki CMS Groupware / Tiki


Commits:
9c8a7259 by Elifeleti Mukisa Dan at 2025-11-06T13:03:40+00:00
[BP][FIX] Tiki log search system is not able to find users or IP
---
* [FIX] Tiki log search system is not able to find users or IP
---
* [FIX] Tiki log search system is not able to find users or IP

See merge request tikiwiki/tiki!8975


(cherry picked from commit 717fd7398dfc965b0b1386ce98531b563cfaac0c)

960446d3 [FIX] Tiki log search system is not able to find users or IP

Co-authored-by: Elifeleti Mukisa Dan <[email protected]>

See merge request tikiwiki/tiki!8976

- - - - -


1 changed file:

- lib/Logs/LogsLib.php


Changes:

=====================================
lib/Logs/LogsLib.php
=====================================
@@ -540,7 +540,9 @@ class LogsLib extends TikiLib
 
         if ($find) {
             $findesc = '%' . $find . '%';
-            $amid[] = "(`comment` like ? or a.`action` like ? or `object` like ?)";
+            $amid[] = "(`comment` like ? or a.`action` like ? or `object` like ? or `user` like ? or `ip` like ?)";
+            $bindvars[] = $findesc;
+            $bindvars[] = $findesc;
             $bindvars[] = $findesc;
             $bindvars[] = $findesc;
             $bindvars[] = $findesc;



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/9c8a7259cfc15fecf487a0dac92beb55211016d1

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/9c8a7259cfc15fecf487a0dac92beb55211016d1
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.