davidjumani commented on a change in pull request #454:
URL: https://github.com/apache/cloudstack-primate/pull/454#discussion_r446796478
##########
File path: src/views/AutogenView.vue
##########
@@ -381,10 +382,19 @@ export default {
watch: {
'$route' (to, from) {
if (to.fullPath !== from.fullPath && !to.fullPath.includes('action/')) {
- this.searchQuery = ''
- this.page = 1
+ if ('q' in to.query) {
Review comment:
Agreed but it creates two parameters keywork / name and q, with q having
the higher priority, so changing only q and not the other can lead to
inconsistencies. It by default picks up keywork / name when q is not present
anyway
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]