I am using the "Item List" field in one tracker with "Item Link" in the other. It works well, but when I click on "Insert new item" the new item should automatically select the proper field value that is tied to whatever tracker item generated the request. As it stands now, you have to drop the list down and manually select the correct linked item, but that can be a real pain when the tracker gets big.
I've tracked the problem - it appears that the issue is in tiki-view_tracker_item.tpl. The code to set up the link is here:
<div style="clear:both;text-align:right;"><a href="tiki-view_tracker.php?trackerId={$cur_field.options_array0}&vals%5B{$cur_field.options_array1}%5D={section name=ox loop=$ins_fields}
{if $ins_fieldsox.fieldId eq $cur_field.options_array2}
{$ins_fieldsox.value}
{/if}
{/section}
">Insert new item{/tr}
However, when you have a two item link (e.g. 8,37,31|32,38,1), then cur_field.options_array2 never matches any ins_fields{ox].value, and consequently that part of the vals parameter is always blank.
tracker view and tracker item view templates were both broken.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |