Skip to content

Commit

Permalink
v1.137.0
Browse files Browse the repository at this point in the history
  • Loading branch information
varovaro committed Oct 9, 2023
2 parents 0c4a1c9 + 44bb44f commit d746305
Show file tree
Hide file tree
Showing 12 changed files with 399 additions and 124 deletions.
2 changes: 1 addition & 1 deletion app/api/search/documentQueryBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export default function () {
terms: {
field: 'template.raw',
missing: 'missing',
size: preloadOptionsSearch,
size: preloadOptionsSearch(),
},
aggregations: {
filtered: {
Expand Down
8 changes: 4 additions & 4 deletions app/api/search/metadataAggregations.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const aggregation = (key, should, filters) => ({
terms: {
field: key,
missing: 'missing',
size: preloadOptionsSearch,
size: preloadOptionsSearch(),
},
aggregations: {
filtered: {
Expand Down Expand Up @@ -99,7 +99,7 @@ const nestedAggregation = (property, should, readOnlyFilters, path, missing = fa
terms: {
field: nestedPropPath,
missing: missing ? 'missing' : undefined,
size: preloadOptionsSearch,
size: preloadOptionsSearch(),
},
aggregations: {
filtered: {
Expand Down Expand Up @@ -203,7 +203,7 @@ const permissionsAggregations = (baseQuery, path, terms) => {
filtered: {
terms: {
field: path,
size: preloadOptionsSearch,
size: preloadOptionsSearch(),
},
aggregations: {
filteredByUser: {
Expand Down Expand Up @@ -304,7 +304,7 @@ export const publishingStatusAgreggations = baseQuery => {
terms: {
field: path,
missing: 'false',
size: preloadOptionsSearch,
size: preloadOptionsSearch(),
},
},
},
Expand Down
Loading

0 comments on commit d746305

Please sign in to comment.