feat: refs #7287 Minor chnage
gitea/salix/pipeline/pr-dev This commit looks good Details

This commit is contained in:
Guillermo Bonet 2024-08-27 07:59:43 +02:00
parent 9f61806e06
commit 99d867f1ba
1 changed files with 2 additions and 4 deletions

View File

@ -43,8 +43,7 @@ export default class Controller extends Section {
'description', 'description',
'changedModel', 'changedModel',
'changedModelId', 'changedModelId',
'changedModelValue', 'changedModelValue'
'reason'
], ],
include: [{ include: [{
relation: 'user', relation: 'user',
@ -291,8 +290,7 @@ export default class Controller extends Section {
return {or: [ return {or: [
{oldJson: {like: `%${value}%`}}, {oldJson: {like: `%${value}%`}},
{newJson: {like: `%${value}%`}}, {newJson: {like: `%${value}%`}},
{description: {like: `%${value}%`}}, {description: {like: `%${value}%`}}
{reason: {like: `%${value}%`}}
]}; ]};
case 'who': case 'who':
switch (value) { switch (value) {