+1

Improve search fields from plugins in existent objects

QUO VASYS Hi-TECH 2 years ago 0

I have added 2 fields to ticket object, one from the plugin Custom fields, and one in my own plugin...

 

I have two problems

a) When we add the column as part of the result (or because we add it in the filter),  the title always put PLUGIN - xxxx and the name of the field....

This is something inside the twig and we can overrride. A normal user don't understand nothing about plugins, and this disturb them.

b) There is no option to rewrite the result (f.ex, to put an specific link)...   

If i define f.ex the Suppliers.Name field, and i want add some info at the end and make a link,  i can't do unles i change the field definition in the query...  

One idea is that we should be able to call the Plugin method for specific fields.... but now the query always put to the field the itemtype = "ticket" (or the object we are displaying)....   Maybe a new option in the search field definition (specific_itemtype),  should work

(Well it works, but i can't apply upgrades without lost the changes and reimplement again).