[TikiWiki-commits] [Git][tikiwiki/tiki][27.x] [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 <696f3c377ee4a_2c181ce466198@gitlab-sidekiq-low-urgency-cpu-bound-v2-bcbfd78cc-xcvmv.mail>

Victor Emanouilov pushed to branch 27.x at Tiki Wiki CMS Groupware / Tiki


Commits:
2249e727 by Victor Emanouilov at 2026-01-20T10:26:27+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
=====================================
@@ -1448,6 +1448,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/2249e727bf3d815a4d0458bc60787fc200745385

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