mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-18 07:23:03 +00:00
Reduce browse definition requests on simple item page (#3701)
* 121561 Reduce the number of browse definition requests on Item pages by reusing the navbar request for all browse indexes * Fix test issues. --------- Co-authored-by: Koen Pauwels <koen.pauwels@atmire.com>
This commit is contained in:

committed by
Tim Donohue

parent
9284763fe2
commit
0120896135
@@ -1,4 +1,7 @@
|
||||
import { autoserialize } from 'cerialize';
|
||||
import {
|
||||
autoserialize,
|
||||
autoserializeAs,
|
||||
} from 'cerialize';
|
||||
|
||||
import { BrowseByDataType } from '../../browse-by/browse-by-switcher/browse-by-data-type';
|
||||
import { CacheableObject } from '../cache/cacheable-object.model';
|
||||
@@ -11,6 +14,9 @@ export abstract class BrowseDefinition extends CacheableObject {
|
||||
@autoserialize
|
||||
id: string;
|
||||
|
||||
@autoserializeAs('metadata')
|
||||
metadataKeys: string[];
|
||||
|
||||
/**
|
||||
* Get the render type of the BrowseDefinition model
|
||||
*/
|
||||
|
Reference in New Issue
Block a user