forked from Nitrate/Nitrate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix tags search and hint while adding tags to test cases in TP
How to reproduce: - Open a Test Plan - Go to Cases tab - Select few test cases - click Tag -> Add Tag button - start typing tag name - if there are tags which match the text they will be shown as a drop-down hint. This was previously raising an exception. Also introduced a slight performance optimization by using QuerySet.values() method to fetch only the field name we're interested in, not everything. Note: this commit makes use of the TestCaseTag class instead of the TestTag class in order to convert ORM queries to child -> parent relationship, instead of parent -> child one. Updated JavaScript files to match the backend changes and model field names. Note: Removal of tags bug is Nitrate#174 which is fixed in PR Nitrate#177 Signed-off-by: Mr. Senko <atodorov@mrsenko.com>
- Loading branch information
Showing
2 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters