Two actions (retire and unlink) at the same time
Nagy Gabor <[email protected]>
| Newsgroups | gmane.comp.bug-tracking.roundup.user |
|---|---|
| Message-ID | <20210409180732.22053099@Dell> |
Dear Roundup Users, I investigated the "saved queries" management of 'devel' template. I observed that the removal of a query is a bit complicated: If we retire a query, then it is still visible in the "queries" list (multilink) of the user, because it is not automatically removed. So the user still need to hide the query (i.e. remove from his queries list). In similar scenarios usually we want to perform two actions in the same time: 1. Remove query1 from the queries multilink of user1. (This is an 'edit' action on user1.) 2. Retire query1. (This is a 'retire' action on query1.) Can these performed in one "HTML form submission"? Which the nicest solution here? Or how can I define a custom Action easily which consists of performing these two db operations? Yes, I know that automatic multilink editing can be done using rev_multilink, according to the documentation, but I am curious. (And I am not sure that the default 'search' action would like that in case of queries.) Regards, Gábor _______________________________________________ Roundup-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/roundup-users