Skip to content

Commit

Permalink
Merge pull request #5438 from specify/issue-5425
Browse files Browse the repository at this point in the history
fix simple search QueryField constructor call
  • Loading branch information
CarolineDenis authored Dec 18, 2024
2 parents b69dac3 + 88d213d commit 4e24a2b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion specifyweb/express_search/related.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@ def build_related_query(self, session, config, terms, collection, user):
negate=False,
display=False,
format_name=None,
sort_type=0)
sort_type=0,
strict=False)

logger.debug("primary queryfield: %s", primary_field)
logger.debug("display queryfields: %s", self.display_fields)
Expand Down
8 changes: 4 additions & 4 deletions specifyweb/frontend/js_src/lib/utils/cache/definitions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,15 +73,15 @@ export type CacheDefinitions = {
readonly applyAll: boolean;
};
readonly tree: {
readonly [key in `definition${AnyTree['tableName']}`]: number;
} & {
readonly [key in `focusPath${AnyTree['tableName']}`]: RA<number>;
} & {
/** Collapsed ranks in a given tree */
readonly [key in `collapsedRanks${AnyTree['tableName']}`]: RA<number>;
} & {
/** Open nodes in a given tree */
readonly [key in `conformations${AnyTree['tableName']}`]: Conformations;
} & {
readonly [key in `definition${AnyTree['tableName']}`]: number;
} & {
readonly [key in `focusPath${AnyTree['tableName']}`]: RA<number>;
} & {
readonly hideEmptyNodes: boolean;
readonly isSplit: boolean;
Expand Down

0 comments on commit 4e24a2b

Please sign in to comment.