Project

General

Profile

Actions

action #52385

closed

Button 'New test suite' does not work after using table search.

Added by Xiaojing_liu over 5 years ago. Updated about 5 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Feature requests
Target version:
-
Start date:
2019-05-31
Due date:
% Done:

0%

Estimated time:

Description

After using the search function in adminTable, then click the 'New ...' button, new line is not shown in table.

Reproduce steps:

  1. open test suites page.
  2. input characters in search text input box.
  3. 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.


Related issues 1 (0 open1 closed)

Is duplicate of openQA Project (public) - action #51719: "New Test Suite " button in admin/test_suites can not be used with filter Resolvedmkittler2019-05-21

Actions
Actions #1

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.
Actions #2

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 :)

Actions #3

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?

Actions #4

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

Actions #5

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
Actions #6

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.

Actions #7

Updated by coolo about 5 years ago

  • Target version deleted (Ready)
Actions

Also available in: Atom PDF