refs #5244 move changes sql
gitea/salix/pipeline/head Build queued... Details

This commit is contained in:
Vicent Llopis 2023-08-24 07:40:37 +02:00
parent 59888dfdb8
commit dad792cb76
5 changed files with 4 additions and 3 deletions

View File

@ -16,7 +16,7 @@ export default class WorkerAutocomplete extends Autocomplete {
}
Object.assign(this, {
label: 'Worker',
url: url,
url,
searchFunction: function({$search}) {
return {and: [
{'active': {neq: false}},

View File

@ -83,3 +83,4 @@ export default class EventEmitter {
}
}
}
EventEmitter.$inject = ['$element', '$scope'];

View File

@ -3,11 +3,11 @@ const mergeFilters = require('vn-loopback/util/filter').mergeFilters;
module.exports = Self => {
Self.remoteMethodCtx('search', {
description: 'Returns an array of search from an specified worker',
description: 'Returns an array of search results for a specified worker',
accepts: [{
arg: 'filter',
type: 'object',
description: 'Filter defining where and paginated data',
description: 'Filter to define conditions and paginate the data.',
required: true
},
{