mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
101623: Fixes after merge
This commit is contained in:
@@ -3,6 +3,7 @@ import { MetadataValue } from '../../../core/shared/metadata.models';
|
||||
import { APP_CONFIG, AppConfig } from '../../../../config/app-config.interface';
|
||||
import { BrowseDefinition } from '../../../core/shared/browse-definition.model';
|
||||
import { hasValue } from '../../../shared/empty.util';
|
||||
import { VALUE_LIST_BROWSE_DEFINITION } from '../../../core/shared/value-list-browse-definition.resource-type';
|
||||
|
||||
/**
|
||||
* This component renders the configured 'values' into the ds-metadata-field-wrapper component.
|
||||
@@ -84,7 +85,7 @@ export class MetadataValuesComponent implements OnChanges {
|
||||
*/
|
||||
getQueryParams(value) {
|
||||
let queryParams = {startsWith: value};
|
||||
if (this.browseDefinition.metadataBrowse) {
|
||||
if (this.browseDefinition.getRenderType() === VALUE_LIST_BROWSE_DEFINITION.value) {
|
||||
return {value: value};
|
||||
}
|
||||
return queryParams;
|
||||
|
Reference in New Issue
Block a user