[TikiWiki-commits] [Git][tikiwiki/tiki][27.x] [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 <6964e3d7b73d6_2c180d94952e7@gitlab-sidekiq-low-urgency-cpu-bound-v2-5f7d6469f9-hbtgg.mail>

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


Commits:
8bdf9763 by Victor Emanouilov at 2026-01-12T14:06:26+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
=====================================
@@ -572,7 +572,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/8bdf9763d395214806dedc253bff3ddee1ef7d99

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