On Tiki23 I set a CUSTOMSEARCH plugin to display a list of tracker items in a table output template with some actions buttons for each rows.
{DIV(type="span" class="click-modal")}[tiki-tracker-update_item?trackerId=22&itemId={display name="object_id"}&modal=1|{icon name="edit" iclass="text-warning mx-2 click-modal"}]{DIV}
It work just fine.
But if I try the same on a List or ListExecute plugin, the "&" in the url are changed to "&" which is breaking the link. You have to add for the column "mode=raw".
Would be nice to have the (same) behaviour like in the CustomSearch plugin (no change)
Complete plugin code to reproduce.
{LISTEXECUTE()} {filter field="tracker_id" content="22"} {filter field="tracker_status" content="o OR p"} {OUTPUT(template="table")} {column label="Date" translatelabel="y" field="date" mode="raw"} {column label="Name" field="name" translatelabel="y" mode="raw"} {column label="Month" field="month" translatelabel="y"} {column label="" field="action"} {OUTPUT} {FORMAT(name="date")}{display name="tracker_field_productsboughtDate" format="date"}{FORMAT} {FORMAT(name="name")}{display name="tracker_field_productsboughtCustomer" format="objectlink"}{FORMAT} {FORMAT(name="month")}{display name="tracker_field_productsboughtMonthOrder"}{FORMAT} {FORMAT(name="action")} {DIV(type="span" class="click-modal small")}[tiki-tracker-update_item?trackerId=22&itemId={display name="object_id"}&modal=1}|{icon name="edit" iclass="text-primary mx-2 click-modal"}]{DIV} {DIV(type="span" class="click-modal small")}[tiki-tracker-insert_item?trackerId=11&modal=1}|{icon name="cash-register" iclass="text-success mx-2 click-modal"}]{DIV}{FORMAT} {ACTION(name="Close")} {step action="change_status" from="p" to="c"} {ACTION} {LISTEXECUTE}
Another example is the fact that most of the time the expected value for "field" if it is to be filled with a tracker field parameter must start with "tracker_field" but not for the plugin ListExecute modify-item parameters. This add confusion to people new to the plugin ListExecute.
{step action="tracker_item_modify" field="paymentsStage" method="add"}
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |