Skip to content
Snippets Groups Projects
Commit 477d7d06 authored by Johannes Goderbauer's avatar Johannes Goderbauer
Browse files

Communication-sorting

parent a2c9573b
No related branches found
No related tags found
No related merge requests found
......@@ -220,18 +220,26 @@ Usually this is used for filtering COMMUNICATION-entries by a specified contact
<dbRecordContainer>
<name>db</name>
<alias>Data_alias</alias>
<fromClauseProcess>%aditoprj%/entity/Communication_entity/recordcontainers/db/fromClauseProcess.js</fromClauseProcess>
<conditionProcess>%aditoprj%/entity/Communication_entity/recordcontainers/db/conditionProcess.js</conditionProcess>
<orderClauseProcess>%aditoprj%/entity/Communication_entity/recordcontainers/db/orderClauseProcess.js</orderClauseProcess>
<onDBInsert>%aditoprj%/entity/Communication_entity/recordcontainers/db/onDBInsert.js</onDBInsert>
<onDBUpdate>%aditoprj%/entity/Communication_entity/recordcontainers/db/onDBUpdate.js</onDBUpdate>
<linkInformation>
<linkInformation>
<name>e3567770-187a-4366-bb87-fb22ff7ff257</name>
<name>5f6cd42e-34d5-4a1c-b9f0-8c87bf914f22</name>
<tableName>COMMUNICATION</tableName>
<primaryKey>COMMUNICATIONID</primaryKey>
<isUIDTable v="true" />
<readonly v="false" />
</linkInformation>
<linkInformation>
<name>fd493a1b-3ff1-4e7e-8d21-0f9f28824e9e</name>
<tableName>AB_KEYWORD_ENTRY</tableName>
<primaryKey>AB_KEYWORD_ENTRYID</primaryKey>
<isUIDTable v="false" />
<readonly v="true" />
</linkInformation>
</linkInformation>
<recordFieldMappings>
<dbRecordFieldMapping>
......
import("system.result");
import("KeywordRegistry_basic");
result.string("COMMUNICATION \n\
left join AB_KEYWORD_ENTRY on (COMMUNICATION.MEDIUM_ID = AB_KEYWORD_ENTRY.KEYID and AB_KEYWORD_ENTRY.CONTAINER = '" + $KeywordRegistry.communicationMedium() + "') ");
\ No newline at end of file
......@@ -2,5 +2,6 @@ import("system.result");
import("system.db");
result.object({
"COMMUNICATION.MEDIUM_ID": db.ASCENDING
"AB_KEYWORD_ENTRY.SORTING": db.ASCENDING,
"COMMUNICATION.STANDARD": db.DESCENDING
});
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment