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

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


Commits:
04d4fb1a by Victor Emanouilov at 2026-01-12T14:06:16+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
=====================================
@@ -570,7 +570,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/04d4fb1a5e75777c50e2c976dc67e8885d5e91e9

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