From e46b4b0b97dc6ef4c7e82346fa824fe42ed1e208 Mon Sep 17 00:00:00 2001 From: alexm Date: Tue, 7 Jan 2025 09:06:41 +0100 Subject: [PATCH] fix: vnNotes filter & fix: itemFixedPrice order --- src/components/ui/VnNotes.vue | 2 +- src/pages/Item/ItemFixedPrice.vue | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/ui/VnNotes.vue b/src/components/ui/VnNotes.vue index e308ea9bb..1690a94ba 100644 --- a/src/components/ui/VnNotes.vue +++ b/src/components/ui/VnNotes.vue @@ -110,7 +110,7 @@ onBeforeRouteLeave((to, from, next) => { :url="$props.url" order="created DESC" :limit="0" - :filter="$props.filter" + :user-filter="$props.filter" auto-load ref="vnPaginateRef" class="show" diff --git a/src/pages/Item/ItemFixedPrice.vue b/src/pages/Item/ItemFixedPrice.vue index 5ebf8a477..37490b35f 100644 --- a/src/pages/Item/ItemFixedPrice.vue +++ b/src/pages/Item/ItemFixedPrice.vue @@ -406,7 +406,7 @@ function handleOnDataSave({ CrudModelRef }) { :default-save="false" data-key="ItemFixedPrices" url="FixedPrices/filter" - :order="['itemFk DESC', 'name DESC']" + :order="['name DESC', 'itemFk DESC']" save-url="FixedPrices/crud" ref="tableRef" dense