Full Version: Use special filtering in select related record poup
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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.

Keep asking if you need any help
Will see if I can get someting there. I remember this from our adventure trying to mix m:m with UI10 related records...