-
Notifications
You must be signed in to change notification settings - Fork 946
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
[backend] manage long text filter like description and add search operator #4940 #5633
Conversation
|
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #5633 +/- ##
==========================================
+ Coverage 65.44% 65.49% +0.05%
==========================================
Files 539 539
Lines 63063 63179 +116
Branches 5050 5075 +25
==========================================
+ Hits 41271 41382 +111
- Misses 21792 21797 +5 ☔ View full report in Codecov by Sentry. |
4767fa0
to
4e54fc1
Compare
3972324
to
3d01224
Compare
00fc190
to
539cfea
Compare
6f29a12
to
ebfecd0
Compare
!missing test to do |
filters: { | ||
mode: 'and', | ||
filters: [{ | ||
key: ['description'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
array not required, in the front, we rather write: "key: 'description'"
filters: { | ||
mode: 'and', | ||
filters: [{ | ||
key: ['description'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here and below
expect(queryResult.data.reports.edges.length).toEqual(1); | ||
}); | ||
|
||
it('should find entities according to search filters on short string unorder', async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you complete the test title with "unordered", if that was the intent ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes sure. I put unorder but I think I am not grammatically correct sorry.
@@ -2163,7 +2163,7 @@ | |||
"Level": "Level", | |||
"color": "color", | |||
"Force now": "Force now", | |||
"name": "name", | |||
"name": "Name", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think name should be translated to Name because it changes the case. (Knowing that the 'name' and 'description' label will be ok in 4939
#4940