Use special filtering in select related record poup - Printable Version +- CoreBOSBB (https://discussions.corebos.org) +-- Forum: Support (https://discussions.corebos.org/forumdisplay.php?fid=17) +--- Forum: Administrator Support (https://discussions.corebos.org/forumdisplay.php?fid=8) +--- Thread: Use special filtering in select related record poup (/showthread.php?tid=751) |
Use special filtering in select related record poup - Guido1982 - 10-16-2017 We use tickets a lot in conjunction with assets. In the current setup, some tickets are created as stand-alone (so not created from an asset), and later on related to an asset through an m:m relation. I was wondering if we could create a filter in the popup field that would allow us to see only tickets that are not related to a single asset so far. This was we would prevent single tickets to be related to multiple assets by accident. RE: Use special filtering in select related record poup - joebordes - 10-16-2017 I haven't done this in a while, but if I remember correctly you will have to add a getQueryByModuleField method in assets to filter out the ones that are already related. http://corebos.org/documentation/doku.php?id=en:devel:corebos_hooks:popup_query_hook Keep asking if you need any help RE: Use special filtering in select related record poup - Guido1982 - 10-17-2017 Will see if I can get someting there. I remember this from our adventure trying to mix m:m with UI10 related records... |