forked from hazza/dspace-angular
8408 - sort ordering is parametrized and used only when no text query is send.
This commit is contained in:
@@ -4,7 +4,7 @@ import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
|
||||
import { DSpaceObjectType } from '../../../core/shared/dspace-object-type.model';
|
||||
import { DSOSelectorModalWrapperComponent, SelectorActionType } from '../../dso-selector/modal-wrappers/dso-selector-modal-wrapper.component';
|
||||
import { DSpaceObject } from '../../../core/shared/dspace-object.model';
|
||||
import {SortDirection, SortOptions} from '../../../core/cache/models/sort-options.model';
|
||||
|
||||
/**
|
||||
* Component to wrap a button - to select the entire repository -
|
||||
* and a list of parent communities - for scope selection
|
||||
@@ -33,11 +33,6 @@ export class ScopeSelectorModalComponent extends DSOSelectorModalWrapperComponen
|
||||
*/
|
||||
scopeChange = new EventEmitter<DSpaceObject>();
|
||||
|
||||
/**
|
||||
* Default DSO ordering
|
||||
*/
|
||||
defaultSort = new SortOptions('dc.title', SortDirection.ASC);
|
||||
|
||||
constructor(protected activeModal: NgbActiveModal, protected route: ActivatedRoute) {
|
||||
super(activeModal, route);
|
||||
}
|
||||
|
Reference in New Issue
Block a user