Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add displayName in EvidenceLevel keyword search #60

Merged
merged 2 commits into from
Oct 5, 2023

Conversation

mathieulemieux
Copy link
Member

@mathieulemieux mathieulemieux commented Oct 3, 2023

Problem wasn't the "special character" after all, but the fact that the displayName wasn't part of the keyword search for EvidenceLevel specifically.

SELECT @class, @rid, name, displayName, source.name FROM EvidenceLevel WHERE name CONTAINSTEXT 'ipr-' OR sourceId CONTAINSTEXT 'ipr-' OR source.name CONTAINSTEXT 'ipr-' OR displayName.toLowerCase() CONTAINSTEXT 'ipr-' 

+----+-------+-------------+----------+-----+----+-----------+-----------+
|#   |@RID   |@CLASS       |deprecated|alias|name|displayName|source.name|
+----+-------+-------------+----------+-----+----+-----------+-----------+
|0   |#105:19|EvidenceLevel|false     |false|b   |IPR-B      |ipr        |
|1   |#106:32|EvidenceLevel|false     |false|c   |IPR-C      |ipr        |
|2   |#107:15|EvidenceLevel|false     |false|d   |IPR-D      |ipr        |
|3   |#108:30|EvidenceLevel|false     |false|a   |IPR-A      |ipr        |
|4   |#108:31|EvidenceLevel|false     |false|e   |IPR-E      |ipr        |
+----+-------+-------------+----------+-----+----+-----------+-----------+

See ticket https://www.bcgsc.ca/jira/browse/KBDEV-1101

@mathieulemieux mathieulemieux self-assigned this Oct 3, 2023
@mathieulemieux mathieulemieux added the bug Something isn't working label Oct 3, 2023
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@mathieulemieux mathieulemieux merged commit 2ea878c into develop Oct 5, 2023
11 checks passed
@github-actions

This comment has been minimized.

1 similar comment
@github-actions
Copy link

Unit Test Results

0 files  ±0  0 suites  ±0   0s ⏱️ ±0s
0 tests ±0  0 ✔️ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 2ea878c. ± Comparison against base commit 99fa8d7.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants