refs #5667 Fixes: Translations, help
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Juan Ferrer 2023-05-19 11:14:29 +02:00
parent 29610e52cc
commit a190f2152b
3 changed files with 14 additions and 5 deletions

View File

@ -153,11 +153,18 @@
</tpl-item>
</vn-autocomplete>
<vn-textfield
label="Concept"
ng-model="filter.changedModelValue">
label="Search"
ng-model="filter.search">
<append>
<vn-icon
icon="info_outline"
vn-tooltip="Search by id or concept"
pointer>
</vn-icon>
</append>
</vn-textfield>
<vn-autocomplete
label="Model"
label="Entity"
ng-model="filter.changedModel"
value-field="changedModel"
show-field="changedModelI18n"

View File

@ -141,7 +141,7 @@ export default class Controller extends Section {
function getParam(prop, value) {
if (value == null || value == '') return null;
switch (prop) {
case 'changedModelValue':
case 'search':
const or = [{changedModelId: value}];
if (!/^[0-9]+$/.test(value))
or.push({changedModelValue: {like: `%${value}%`}});

View File

@ -1,6 +1,8 @@
Date: Fecha
Concept: Concepto
Model: Modelo
Search: Buscar
Search by id or concept: Buscar por identificador o concepto
Entity: Entidad
Action: Acción
Author: Autor
Before: Antes