Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Maarch
MaarchCourrier
Commits
09f3dcbb
Commit
09f3dcbb
authored
May 14, 2021
by
Hamza HRAMCHI
Browse files
FIX #10110 TIME 0:33 add offset to pagination
parent
ddc7b8f9
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/frontend/app/administration/contact/group/form/contacts-group-form.component.ts
View file @
09f3dcbb
...
...
@@ -509,7 +509,7 @@ export class CorrespondentListHttpDao {
getRepoIssues
(
sort
:
string
,
order
:
string
,
page
:
number
,
href
:
string
,
search
:
string
,
pageSize
:
number
):
Observable
<
CorrespondentList
>
{
const
offset
=
page
*
10
;
const
offset
=
page
*
pageSize
;
const
requestUrl
=
`
${
href
}
?limit=
${
pageSize
}
&offset=
${
offset
}
&order=
${
order
}
&orderBy=
${
sort
}
&search=
${
search
}
`
;
return
this
.
http
.
get
<
CorrespondentList
>
(
requestUrl
);
...
...
src/frontend/app/administration/contact/list/contacts-list-administration.component.ts
View file @
09f3dcbb
...
...
@@ -390,7 +390,7 @@ export class ContactListHttpDao {
getRepoIssues
(
sort
:
string
,
order
:
string
,
page
:
number
,
href
:
string
,
search
:
string
,
pageSize
:
number
):
Observable
<
ContactList
>
{
const
offset
=
page
*
10
;
const
offset
=
page
*
pageSize
;
const
requestUrl
=
`
${
href
}
?limit=
${
pageSize
}
&offset=
${
offset
}
&order=
${
order
}
&orderBy=
${
sort
}
&search=
${
search
}
`
;
return
this
.
http
.
get
<
ContactList
>
(
requestUrl
);
}
...
...
src/frontend/app/administration/history/batch/history-batch-administration.component.ts
View file @
09f3dcbb
...
...
@@ -295,7 +295,7 @@ export class HistoryListHttpDao {
getRepoIssues
(
sort
:
string
,
order
:
string
,
page
:
number
,
href
:
string
,
search
:
string
,
directSearchValue
:
string
,
pageSize
:
number
):
Observable
<
HistoryList
>
{
const
offset
=
page
*
10
;
const
offset
=
page
*
pageSize
;
const
requestUrl
=
`
${
href
}
?limit=
${
pageSize
}
&offset=
${
offset
}
&order=
${
order
}
&orderBy=
${
sort
}${
search
}${
directSearchValue
}
`
;
return
this
.
http
.
get
<
HistoryList
>
(
requestUrl
);
...
...
src/frontend/app/history/history.component.ts
View file @
09f3dcbb
...
...
@@ -315,7 +315,7 @@ export class HistoryListHttpDao {
getRepoIssues
(
sort
:
string
,
order
:
string
,
page
:
number
,
href
:
string
,
search
:
string
,
extraParamUrl
:
string
,
directSearchValue
:
string
,
pageSize
:
number
):
Observable
<
HistoryList
>
{
const
offset
=
page
*
10
;
const
offset
=
page
*
pageSize
;
const
requestUrl
=
`
${
href
}
?limit=
${
pageSize
}
&offset=
${
offset
}
&order=
${
order
}
&orderBy=
${
sort
}${
search
}${
extraParamUrl
}${
directSearchValue
}
`
;
return
this
.
http
.
get
<
HistoryList
>
(
requestUrl
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment