To recreate: 1. Create any report 2. From the list of reports click the dropdown next to 'Run' 3. Choose 'Preview SQL' 4. Notice 2 delete buttons.
Created attachment 180731 [details] [review] Bug 39586: Remove duplicate delete button To test: 1. Create any report 2. From the list of reports click the dropdown next to 'Run' 3. Choose 'Preview SQL' 4. Notice 2 delete buttons. 5. APPLY PATCH 6. Try again, there should only be one delete button. 7. Confirm that button works and the report is deleted.
Created attachment 180734 [details] [review] Bug 39586: Remove duplicate delete button To test: 1. Create any report 2. From the list of reports click the dropdown next to 'Run' 3. Choose 'Preview SQL' 4. Notice 2 delete buttons. 5. APPLY PATCH 6. Try again, there should only be one delete button. 7. Confirm that button works and the report is deleted. Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl>
The good news is that your patch looks very similar to the one that's already PQA, except that it absorbed the id attribute from the other one. *** This bug has been marked as a duplicate of bug 39258 ***