fix(filter) perbaikan sorting
continuous-integration/drone/tag Build is passing
Details
continuous-integration/drone/tag Build is passing
Details
parent
c5c5762823
commit
26a073968f
|
@ -12,8 +12,8 @@ import { ORDER_TYPE } from 'src/core/strings/constants/base.constants';
|
|||
export class IndexUserPrivilegeConfigurationManager extends BaseIndexManager<UserPrivilegeConfigurationEntity> {
|
||||
async prepareData(): Promise<void> {
|
||||
Object.assign(this.filterParam, {
|
||||
order_by: `${this.tableName}.index`,
|
||||
order_type: ORDER_TYPE.ASC,
|
||||
order_by: this.filterParam.order_by ?? `${this.tableName}.index`,
|
||||
order_type: this.filterParam.order_by ?? ORDER_TYPE.ASC,
|
||||
limit: 100,
|
||||
});
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue