This is the codeAbility Sharing Platform! Learn more about the
codeAbility Sharing Platform
.
Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
codeAbility Sharing Platform
Manage
Activity
Members
Labels
Plan
Issues
43
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
development
sharing
codeAbility Sharing Platform
Commits
252e761d
Commit
252e761d
authored
3 years ago
by
Michael Breu
Browse files
Options
Downloads
Patches
Plain Diff
Intermediate commit
parent
30ba1423
2 merge requests
!188
Merging Peer Reviewing et. al to Master
,
!164
211 peer reviewing functionality
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/at/ac/uibk/gitsearch/web/rest/WatchListEntryResource.java
+1
-1
1 addition, 1 deletion
...at/ac/uibk/gitsearch/web/rest/WatchListEntryResource.java
with
1 addition
and
1 deletion
src/main/java/at/ac/uibk/gitsearch/web/rest/WatchListEntryResource.java
+
1
−
1
View file @
252e761d
...
@@ -138,7 +138,7 @@ public class WatchListEntryResource {
...
@@ -138,7 +138,7 @@ public class WatchListEntryResource {
@GetMapping
(
"/_search/watch-list-entries"
)
@GetMapping
(
"/_search/watch-list-entries"
)
public
ResponseEntity
<
List
<
WatchListEntryDTO
>>
searchWatchListEntries
(
@RequestParam
String
query
,
Pageable
pageable
)
{
public
ResponseEntity
<
List
<
WatchListEntryDTO
>>
searchWatchListEntries
(
@RequestParam
String
query
,
Pageable
pageable
)
{
log
.
debug
(
"REST request to search for a page of WatchListEntries for query {}"
,
query
);
log
.
debug
(
"REST request to search for a page of WatchListEntries for query {}"
,
query
);
Page
<
WatchListEntryDTO
>
page
=
watchListEntryService
.
search
(
query
,
pageable
);
Page
<
WatchListEntryDTO
>
page
=
watchListEntryService
.
search
(
0L
);
HttpHeaders
headers
=
PaginationUtil
.
generatePaginationHttpHeaders
(
ServletUriComponentsBuilder
.
fromCurrentRequest
(),
page
);
HttpHeaders
headers
=
PaginationUtil
.
generatePaginationHttpHeaders
(
ServletUriComponentsBuilder
.
fromCurrentRequest
(),
page
);
return
ResponseEntity
.
ok
().
headers
(
headers
).
body
(
page
.
getContent
());
return
ResponseEntity
.
ok
().
headers
(
headers
).
body
(
page
.
getContent
());
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
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