mirror of
https://github.com/ansible/awx.git
synced 2026-01-15 03:40:42 -03:30
Merge pull request #2934 from mabashian/2933-search
Makes search filters additive again
This commit is contained in:
commit
d0598e720d
@ -336,7 +336,7 @@ function QuerysetService ($q, Rest, ProcessErrors, $rootScope, Wait, DjangoSearc
|
||||
mergeQueryset (queryset, additional, singleSearchParam) {
|
||||
const space = '%20and%20';
|
||||
|
||||
const merged = _.merge({}, queryset, additional, (objectValue, sourceValue, key, object) => {
|
||||
const merged = _.mergeWith({}, queryset, additional, (objectValue, sourceValue, key, object) => {
|
||||
if (!(object[key] && object[key] !== sourceValue)) {
|
||||
// // https://lodash.com/docs/3.10.1#each
|
||||
// If this returns undefined merging is handled by default _.merge algorithm
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user