mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 06:55:47 +01:00
improved filter/search function and used new pagination
This commit is contained in:
@@ -46,7 +46,7 @@ export function fetchRepos(link: string) {
|
||||
return fetchReposByLink(link);
|
||||
}
|
||||
|
||||
export function fetchReposByPage(link: string, page: number, filter?: string) {
|
||||
export function fetchReposByPage(link: string, page: number, filter?: any) {
|
||||
if (filter) {
|
||||
return fetchReposByLink(
|
||||
`${link}?page=${page - 1}&q=${decodeURIComponent(filter)}`
|
||||
|
||||
Reference in New Issue
Block a user