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

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


Commits:
4af9838d by Victor Emanouilov at 2026-01-12T14:05:52+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/4af9838df565cac7063c044fe96d6d630bbc1d1c

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