refactor: refs #7524 update sort-by parameters to include ASC for consistent ordering
gitea/salix-front/pipeline/pr-master This commit looks good Details

This commit is contained in:
Jose Antonio Tubau 2025-02-13 12:31:04 +01:00
parent 23d6c18ebd
commit 4cb163db63
4 changed files with 5 additions and 5 deletions

View File

@ -116,7 +116,7 @@ async function filterTowns(name) {
:emit-value="false"
required
data-cy="locationTown"
sort-by="name"
sort-by="name ASC"
>
<template #option="{ itemProps, opt }">
<QItem v-bind="itemProps">

View File

@ -62,7 +62,7 @@ const where = computed(() => {
auto-load
:where="where"
url="Autonomies/location"
sort-by="name"
sort-by="name ASC"
:label="t('Autonomy')"
hide-selected
v-model="data.autonomyFk"

View File

@ -123,14 +123,14 @@ const selectItem = ({ id }) => {
<FetchData
url="ItemTypes"
:filter="{ fields: ['id', 'name'], order: 'name ASC' }"
order="name"
order="name ASC"
@on-fetch="(data) => (ItemTypesOptions = data)"
auto-load
/>
<FetchData
url="Inks"
:filter="{ fields: ['id', 'name'], order: 'name ASC' }"
order="name"
order="name ASC"
@on-fetch="(data) => (InksOptions = data)"
auto-load
/>

View File

@ -42,7 +42,7 @@ const props = defineProps({
url="Warehouses"
auto-load
:fields="['id', 'name']"
sort-by="name"
sort-by="name ASC"
:label="t('params.warehouseFk')"
v-model="params.warehouseFk"
dense