HOTFIX: #6943 CustomerList form salesPersons options #790
|
@ -69,7 +69,10 @@ const $props = defineProps({
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: false,
|
default: false,
|
||||||
},
|
},
|
||||||
|
appendParams: {
|
||||||
|
type: Boolean,
|
||||||
|
default: true,
|
||||||
|
},
|
||||||
hasSubToolbar: {
|
hasSubToolbar: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
default: null,
|
default: null,
|
||||||
|
|
|
@ -248,7 +248,7 @@ export function useArrayData(key = useRoute().meta.moduleName, userOptions) {
|
||||||
|
|
||||||
function updateStateParams() {
|
function updateStateParams() {
|
||||||
const newUrl = { path: route.path, query: { ...(route.query ?? {}) } };
|
const newUrl = { path: route.path, query: { ...(route.query ?? {}) } };
|
||||||
if (!route.path.endsWith('/summary'))
|
if (store.appendParams)
|
||||||
newUrl.query[store.searchUrl] = JSON.stringify(store.currentFilter);
|
newUrl.query[store.searchUrl] = JSON.stringify(store.currentFilter);
|
||||||
|
|
||||||
if (store.navigate) {
|
if (store.navigate) {
|
||||||
|
|
|
@ -149,7 +149,7 @@ const setShippedColor = (date) => {
|
||||||
:column-search="false"
|
:column-search="false"
|
||||||
url="Tickets"
|
url="Tickets"
|
||||||
:columns="columns"
|
:columns="columns"
|
||||||
search-url="tickets"
|
append-params="false"
|
||||||
:without-header="true"
|
:without-header="true"
|
||||||
auto-load
|
auto-load
|
||||||
order="shipped DESC, id"
|
order="shipped DESC, id"
|
||||||
|
|
Loading…
Reference in New Issue