1
0

8408 - sort ordering is parametrized and used only when no text query is send.

This commit is contained in:
aroman-arvo
2023-02-13 10:42:56 +01:00
parent 6523b02913
commit eeda26e122
10 changed files with 42 additions and 18 deletions

View File

@@ -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);
}