feat(VnLogFilter): refs #8449 enable orders
gitea/salix-front/pipeline/pr-dev Something is wrong with the build of this commit Details

This commit is contained in:
Alex Moreno 2025-03-26 11:45:11 +01:00
parent 4179219f15
commit a7c23f4bbb
3 changed files with 7 additions and 6 deletions

View File

@ -70,7 +70,7 @@ function textAlignToFlex(textAlign) {
:style="textAlignToFlex(align)" :style="textAlignToFlex(align)"
> >
<span :title="label">{{ label }}</span> <span :title="label">{{ label }}</span>
<div v-if="name && model?.index"> <div v-if="name">
<QChip <QChip
:label="!vertical ? model?.index : ''" :label="!vertical ? model?.index : ''"
:icon=" :icon="
@ -90,7 +90,7 @@ function textAlignToFlex(textAlign) {
style="min-width: 40px; max-height: 30px" style="min-width: 40px; max-height: 30px"
> >
<div <div
class="column flex-center" class="column justify-center text-center"
v-if="vertical" v-if="vertical"
:style="!model?.index && 'color: #5d5d5d'" :style="!model?.index && 'color: #5d5d5d'"
> >

View File

@ -304,6 +304,7 @@ watch(
@on-change="setLogTree" @on-change="setLogTree"
search-url="logs" search-url="logs"
:exprBuilder :exprBuilder
:order="['creationDate DESC', 'id DESC']"
> >
<template #body> <template #body>
<div <div

View File

@ -40,12 +40,12 @@ const checkboxOptions = ref([
const columns = computed(() => [ const columns = computed(() => [
{ name: 'changedModelValue' }, { name: 'changedModelValue' },
{ name: 'changedModel' }, { name: 'changedModel' },
{ name: 'userType' }, { name: 'userType', orderBy: false },
{ name: 'userFk' }, { name: 'userFk' },
{ name: 'change' }, { name: 'change', orderBy: false },
{ name: 'action' }, { name: 'action' },
{ name: 'from', orderBy: 'created' }, { name: 'from', orderBy: 'creationDate' },
{ name: 'to', orderBy: 'created' }, { name: 'to', orderBy: 'creationDate' },
]); ]);
const userParamsWatcher = watch( const userParamsWatcher = watch(