[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] ItemLink ObjectSelector filter - use item IDs without the type: in the...

"Victor Emanouilov \(@kroky\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <696f3c30bc33f_2c21edac812798@gitlab-sidekiq-low-urgency-cpu-bound-v2-bcbfd78cc-5nqr6.mail>

Victor Emanouilov pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
d257a7ae by Victor Emanouilov at 2026-01-20T10:26:13+02:00
[FIX] ItemLink ObjectSelector filter - use item IDs without the type: in the incoming identifier value

- - - - -


1 changed file:

- lib/core/Tracker/Field/ItemLink.php


Changes:

=====================================
lib/core/Tracker/Field/ItemLink.php
=====================================
@@ -1490,6 +1490,7 @@ class Tracker_Field_ItemLink extends \Tracker\Field\AbstractItemField implements
                 $value = $control->getValue();
 
                 if ($value) {
+                    $value = str_replace('trackeritem:', '', $value);
                     if ($multivalue) {
                         $query->filterMultivalue((string) $value, $baseKey);
                     } else {



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

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/d257a7ae746a894a019e6a8039690682dbb6da77
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.