mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-10 19:43:04 +00:00
8408 - sort ordering is parametrized and used only when no text query is send.
This commit is contained in:
@@ -20,6 +20,7 @@ import { InfoConfig } from './info-config.interface';
|
||||
import { CommunityListConfig } from './community-list-config.interface';
|
||||
import { HomeConfig } from './homepage-config.interface';
|
||||
import { MarkdownConfig } from './markdown-config.interface';
|
||||
import { DiscoverySortConfig } from './discovery-sort.config';
|
||||
|
||||
export class DefaultAppConfig implements AppConfig {
|
||||
production = false;
|
||||
@@ -385,4 +386,10 @@ export class DefaultAppConfig implements AppConfig {
|
||||
enabled: false,
|
||||
mathjax: false,
|
||||
};
|
||||
|
||||
// Configuration that determines the metadata sorting of community and collection edition and creation when there are not a search query.
|
||||
collectionSelectionSort: DiscoverySortConfig = {
|
||||
sortMetadata:"dc.title",
|
||||
sortDirection:"ASC",
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user