I have an application where I merge PDF file base on the current grid selection.
I use a PHP button to generate the merge file.
If the target is “same window” it work fine, the file is generated correctly, but I prefer that the current tab stay open.
If the target is “other window” the file is generated correctly but the SESSION is destroy, user need to logout and login again
If the target is “modal” the file is not generated correctly because {sc_where_current} doesn’t include the filter that has been applied (refined search, quick search or other) so the file merge everything. Also there are no exit button