[TikiWiki-commits] [Git][tikiwiki/tiki][master] [FIX] API sync and tabulars - expose fields by name and column label, so...

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

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


Commits:
1dce4e4e by Victor Emanouilov at 2026-01-12T14:05:38+02:00
[FIX] API sync and tabulars - expose fields by name and column label, so remote side can consume properly

- - - - -


1 changed file:

- lib/core/Services/Tracker/TabularController.php


Changes:

=====================================
lib/core/Services/Tracker/TabularController.php
=====================================
@@ -580,7 +580,7 @@ class Services_Tracker_TabularController
                             $entry = new TrackerSourceEntry($itemId);
                             $row = ['itemId' => $itemId];
                             foreach ($columns as $column) {
-                                $row[$column->getField()] = $entry->render($column, false);
+                                $row[$column->getLabel()] = $row[$column->getField()] = $entry->render($column, false);
                             }
                             $data[] = $row;
                         }



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

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