[TikiWiki-commits] [Git][tikiwiki/tiki][27.x] [FIX] trackerlist pretty tracker variable assignment name
"Victor Emanouilov \(@kroky\) via TikiWiki-cvs" <[email protected]>
| Newsgroups | gmane.comp.cms.tiki.cvs |
|---|---|
| Message-ID | <69830dc9681d8_3b184318876ef@gitlab-sidekiq-low-urgency-cpu-bound-v2-65d8676567-k897z.mail> |
Victor Emanouilov pushed to branch 27.x at Tiki Wiki CMS Groupware / Tiki
Commits:
cdf165fb by Victor Emanouilov at 2026-02-04T11:13:37+02:00
[FIX] trackerlist pretty tracker variable assignment name
- - - - -
1 changed file:
- templates/tracker_pretty_item.tpl
Changes:
=====================================
templates/tracker_pretty_item.tpl
=====================================
@@ -5,11 +5,12 @@
{if $field.type ne 'x'
and (empty($listfields) or in_array($field.fieldId, $listfields))
and ($field.type ne 'p' or $field.options_array[0] ne 'password')}
- {capture name=value|cat:'i':$item.itemId:'f':$field.fieldId}
+ {assign var=varname value='value'|cat:'i':$item.itemId:'f':$field.fieldId}
+ {capture name=$varname}
{trackeroutput item=$item field=$field list_mode=$list_mode showlinks=$context.showlinks url=$context.url}
{/capture}
- {assign var="f_"|cat:$field.fieldId value=$smarty.capture.value}
- {assign var="f_"|cat:$field.permName value=$smarty.capture.value}
+ {assign var="f_"|cat:$field.fieldId value=$smarty.capture[$varname]}
+ {assign var="f_"|cat:$field.permName value=$smarty.capture[$varname]}
{else}
{assign var="f_"|cat:$field.fieldId value=''}
{assign var="f_"|cat:$field.permName value=''}
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/cdf165fb7d8da04fcb2677220ca12bb8106ae6dd
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/cdf165fb7d8da04fcb2677220ca12bb8106ae6dd
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