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> </tpl-item>
</vn-autocomplete> </vn-autocomplete>
<vn-textfield <vn-textfield
label="Concept" label="Search"
ng-model="filter.changedModelValue"> ng-model="filter.search">
<append>
<vn-icon
icon="info_outline"
vn-tooltip="Search by id or concept"
pointer>
</vn-icon>
</append>
</vn-textfield> </vn-textfield>
<vn-autocomplete <vn-autocomplete
label="Model" label="Entity"
ng-model="filter.changedModel" ng-model="filter.changedModel"
value-field="changedModel" value-field="changedModel"
show-field="changedModelI18n" show-field="changedModelI18n"

View File

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

View File

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