revert 47aa9bef55
continuous-integration/drone/tag Build is passing
Details
continuous-integration/drone/tag Build is passing
Details
revert fix(sorting) perbaikan sorting datapull/2/head devel_3.2
parent
47aa9bef55
commit
1a3ecefa0a
|
@ -80,7 +80,5 @@ export function getOrderBy(
|
|||
: `${tableName}.${baseFilter.order_by}`;
|
||||
}
|
||||
|
||||
queryBuilder.orderBy(`lower(${orderBy})`, orderType);
|
||||
|
||||
return queryBuilder;
|
||||
queryBuilder.orderBy(orderBy, orderType);
|
||||
}
|
||||
|
|
|
@ -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.filterParam.order_by ?? `${this.tableName}.index`,
|
||||
order_type: this.filterParam.order_type ?? ORDER_TYPE.ASC,
|
||||
order_by: `${this.tableName}.index`,
|
||||
order_type: ORDER_TYPE.ASC,
|
||||
limit: 100,
|
||||
});
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue