Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
Grievance
Commits
b637ea2e
Unverified
Commit
b637ea2e
authored
1 year ago
by
rahu-tarento
Committed by
GitHub
1 year ago
Browse files
Options
Download
Plain Diff
Merge pull request #33 from Radheshhathwar/UPHRH_7903_mobile_otp
Page wise search implementation
parents
c28604e0
ad1c00e4
main
Escalate_ticket_send_mail_to_raiser
UAT
UPHRH_7903_mobile_otp
UPHRH_quartz_scheduler
admin_config_changes
github/fork/vky25/patch-1
shishir_dynamic_schedular
shishir_ticket_statistics_by_user
1 merge request
!34
Uphrh 7903 mobile otp
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/org/upsmf/grievance/service/impl/SearchServiceImpl.java
+2
-1
...a/org/upsmf/grievance/service/impl/SearchServiceImpl.java
with
2 additions
and
1 deletion
+2
-1
src/main/java/org/upsmf/grievance/service/impl/SearchServiceImpl.java
+
2
−
1
View file @
b637ea2e
...
...
@@ -340,9 +340,10 @@ public class SearchServiceImpl implements SearchService {
SearchResponse
searchResponse
;
String
keyValue
=
searchRequest
.
getSort
().
keySet
().
iterator
().
next
();
keyValue
=
getKeyValue
(
keyValue
);
int
from
=
searchRequest
.
getPage
()
>
0
?
(
searchRequest
.
getPage
()
*
searchRequest
.
getSize
())
:
0
;
SearchSourceBuilder
searchSourceBuilder
=
new
SearchSourceBuilder
()
.
query
(
createTicketSearchQuery
(
searchRequest
))
.
from
(
searchRequest
.
getPage
()
)
.
from
(
from
)
.
size
(
searchRequest
.
getSize
())
.
sort
(
keyValue
,
SortOrder
.
valueOf
(
searchRequest
.
getSort
().
get
(
searchRequest
.
getSort
().
keySet
().
iterator
().
next
()).
toUpperCase
()));
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets