This is an automated email from the ASF dual-hosted git repository.

rohit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack-primate.git


The following commit(s) were added to refs/heads/master by this push:
     new 2dae11a  autogen: on search changes reset to first page
2dae11a is described below

commit 2dae11a9d0ab013c2051a9e53a9a9fb8f655a8b3
Author: Rohit Yadav <[email protected]>
AuthorDate: Thu Mar 5 15:04:09 2020 +0530

    autogen: on search changes reset to first page
    
    Fixes #190
    
    Signed-off-by: Rohit Yadav <[email protected]>
---
 src/views/AutogenView.vue | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/views/AutogenView.vue b/src/views/AutogenView.vue
index 229f1eb..460ccc8 100644
--- a/src/views/AutogenView.vue
+++ b/src/views/AutogenView.vue
@@ -506,6 +506,7 @@ export default {
     },
     onSearch (value) {
       this.searchQuery = value
+      this.page = 1
       this.fetchData()
     },
     closeAction () {

Reply via email to