mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-09 13:39:47 -05:00
[web-src] Keep the search text when switching to/from Spotify search
This commit is contained in:
@@ -250,6 +250,7 @@ export default {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.search_query = route.query.query
|
||||||
this.searchMusic(route.query)
|
this.searchMusic(route.query)
|
||||||
this.searchAudiobooks(route.query)
|
this.searchAudiobooks(route.query)
|
||||||
this.searchPodcasts(route.query)
|
this.searchPodcasts(route.query)
|
||||||
|
|||||||
@@ -265,6 +265,7 @@ export default {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.search_query = this.query.query
|
||||||
this.search_param.limit = this.query.limit ? this.query.limit : 50
|
this.search_param.limit = this.query.limit ? this.query.limit : 50
|
||||||
this.search_param.offset = this.query.offset ? this.query.offset : 0
|
this.search_param.offset = this.query.offset ? this.query.offset : 0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user