diff --git a/ayanova/src/components/data-table.vue b/ayanova/src/components/data-table.vue index d58a5fac..8844f078 100644 --- a/ayanova/src/components/data-table.vue +++ b/ayanova/src/components/data-table.vue @@ -29,7 +29,11 @@ {{ preFilterMode.viz }} - + $clear diff --git a/ayanova/src/views/cust-customer-notes.vue b/ayanova/src/views/cust-customer-notes.vue index a008bebc..7b2c80d9 100644 --- a/ayanova/src/views/cust-customer-notes.vue +++ b/ayanova/src/views/cust-customer-notes.vue @@ -7,7 +7,7 @@ ref="extensions" > - + @@ -45,6 +46,13 @@ export default { this.customerId = parseInt(this.$route.params.customerid); //REQUIRED NON-OPTIONAL FILTER this.clientCriteria = this.customerId.toString(); + this.preFilterMode = { + icon: "$ayiAddressCard", + id: window.$gz.util.stringToIntOrNull(this.$route.params.customerid), + ayatype: window.$gz.type.Customer, + viz: this.$route.params.customername, + clearable: false + }; this.rights = window.$gz.role.getRights(window.$gz.type.CustomerNote); window.$gz.eventBus.$on("menu-click", clickHandler); generateMenu(this); @@ -57,6 +65,7 @@ export default { customerId: undefined, // customername: undefined, clientCriteria: undefined, + preFilterMode: null, rights: window.$gz.role.defaultRightsObject(), ayType: window.$gz.type.CustomerNote, selectedItems: [],