diff --git a/entity/Advertising_entity/Advertising_entity.aod b/entity/Advertising_entity/Advertising_entity.aod index 0be659078ad7d753fa65872712e896f9f85aa2ce..19ec044f71105f051ea7bd84c1ff1896259cacb2 100644 --- a/entity/Advertising_entity/Advertising_entity.aod +++ b/entity/Advertising_entity/Advertising_entity.aod @@ -203,6 +203,7 @@ <dbRecordContainer> <name>db</name> <conditionProcess>%aditoprj%/entity/Advertising_entity/recordcontainers/db/conditionProcess.js</conditionProcess> + <orderClauseProcess>%aditoprj%/entity/Advertising_entity/recordcontainers/db/orderClauseProcess.js</orderClauseProcess> <alias>Data_alias</alias> <recordFieldMappings> <dbRecordFieldMapping> diff --git a/entity/Advertising_entity/recordcontainers/db/orderClauseProcess.js b/entity/Advertising_entity/recordcontainers/db/orderClauseProcess.js new file mode 100644 index 0000000000000000000000000000000000000000..5b52765d9221738d1cb0ade997b5d88888717a74 --- /dev/null +++ b/entity/Advertising_entity/recordcontainers/db/orderClauseProcess.js @@ -0,0 +1,4 @@ +import("system.result"); +import("system.db"); + +result.object({"ADVERTISING.DATE_NEW": db.DESCENDING}); \ No newline at end of file