Text metadata on respository level checks its collection on suggestions fetch. Fixes #687.

This commit is contained in:
mateuswetah 2022-03-18 11:12:12 -03:00
parent 36c8dc5c92
commit d2d95e464c
2 changed files with 8 additions and 7 deletions

View File

@ -130,7 +130,7 @@
promise = this.getValuesPlainText({
metadatumId: this.itemMetadatum.metadatum.id,
search: this.searchQuery,
isRepositoryLevel: false,
isRepositoryLevel: this.currentCollectionId == 'default',
valuesToIgnore: [],
offset: this.searchOffset,
number: this.searchNumber,

View File

@ -49,17 +49,18 @@
text-decoration: none;
padding: 0.57em 1em;
font-size: 0.825em;
background-color: var(--tainacan-background-color);
color: var(--tainacan-input-color) !important;
border: none;
transition: background-color 0.3s ease;
label { margin-bottom: 0; }
&.control { font-size: 0.8125em !important; }
.b-checkbox { width: 100% };
&:hover { background-color: var(--tainacan-input-border-color); }
.is-small { color: var(--tainacan-info-color); }
&.is-active { background-color: var(--tainacan-primary); }
&.control { font-size: 0.8125em !important; }
&.dropdown-header { color: var(--tainacan-info-color) !important; }
&:not(.dropdown-header):hover { background-color: var(--tainacan-input-border-color); }
.b-checkbox { width: 100% };
label { margin-bottom: 0; }
.is-small { color: var(--tainacan-info-color); }
svg {
overflow: hidden;
vertical-align: middle;