Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wiki-js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
wiki-js
Commits
4e5da41d
Unverified
Commit
4e5da41d
authored
Aug 14, 2022
by
Sandhya Veludandi
Committed by
GitHub
Aug 14, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: page cursor and pagination (#5541)
* fix: search results not displaying on first page * fix: page cursor position stays the same between page selection
parent
fdeb4a48
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
search-results.vue
client/components/common/search-results.vue
+6
-0
No files found.
client/components/common/search-results.vue
View file @
4e5da41d
...
...
@@ -105,6 +105,9 @@ export default {
}
else
{
this
.
searchIsLoading
=
true
}
}
,
results
()
{
this
.
cursor
=
0
}
}
,
mounted
()
{
...
...
@@ -153,6 +156,9 @@ export default {
skip
()
{
return
!
this
.
search
||
this
.
search
.
length
<
2
}
,
result
()
{
this
.
pagination
=
1
}
,
update
:
(
data
)
=>
_
.
get
(
data
,
'pages.search'
,
{
}
),
watchLoading
(
isLoading
)
{
this
.
searchIsLoading
=
isLoading
...
...
Write
Preview
Markdown
is supported
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