action #52385
closedButton 'New test suite' does not work after using table search.
0%
Description
After using the search function in adminTable, then click the 'New ...' button, new line is not shown in table.
Reproduce steps:
- open test suites page.
- input characters in search text input box.
- click 'New test suite' button.
In my opinion the new line for adding test suites should be shown in table last tr.
PS: the same issue in all places those use DataTables plugin.
Updated by Xiaojing_liu over 5 years ago
- Subject changed from Button 'New test suite' does work after using table search. to Button 'New test suite' does not work after using table search.
Updated by okurz over 5 years ago
you are right. IIRC mkittler was telling me that the last work on the tables with the filtering and pagination we have is a bit too agressive with filtering away stuff, even the "new entry" line :)
Updated by Xiaojing_liu over 5 years ago
okurz wrote:
you are right. IIRC mkittler was telling me that the last work on the tables with the filtering and pagination we have is a bit too agressive with filtering away stuff, even the "new entry" line :)
So do we need to fix it?
Updated by coolo over 5 years ago
- Target version set to Ready
I find the use case to look for an existant test suite and in case it doesn't exist to press 'New' to be very reasonable, so this should be fixed. In doubt by hiding the button on search events - but preferably by not breaking the button's functionality on search
Updated by mkittler over 5 years ago
- Is duplicate of action #51719: "New Test Suite " button in admin/test_suites can not be used with filter added
Updated by mkittler over 5 years ago
- Status changed from New to Rejected
Rejected because it is a duplicate. I'm going to fix this by resetting the filter when a user adds a new row.