diff --git a/entity/Favorite_entity/Favorite_entity.aod b/entity/Favorite_entity/Favorite_entity.aod index 431adf82e41e7e170bf41e839b31e6078ff134ba..58fde656e8e87dedbb67d31e79ebcc213e18d60f 100644 --- a/entity/Favorite_entity/Favorite_entity.aod +++ b/entity/Favorite_entity/Favorite_entity.aod @@ -105,7 +105,6 @@ <title>Titel</title> <contentType>TEXT</contentType> <filterValuesProcess>%aditoprj%/entity/Favorite_entity/recordcontainers/jditorecordcontainer/filterextensions/grouptitleextension/filterValuesProcess.js</filterValuesProcess> - <isLookupFilter v="false" /> <filtertype>BASIC</filtertype> </filterExtension> <filterExtension> diff --git a/entity/Favorite_entity/recordcontainers/jditorecordcontainer/contentProcess.js b/entity/Favorite_entity/recordcontainers/jditorecordcontainer/contentProcess.js index f11203501be996836fd44524a0324cc66c1ee124..183c191acaa7b1a43d6c1a71129fb9cd23e9944a 100644 --- a/entity/Favorite_entity/recordcontainers/jditorecordcontainer/contentProcess.js +++ b/entity/Favorite_entity/recordcontainers/jditorecordcontainer/contentProcess.js @@ -68,7 +68,7 @@ function isFiltered(filters, fav) } if(filters[i]["name"].includes("groupGroupNameExtension")) { - if(!isValid(favoObjectType, filters[i])) + if(!isValid(favoGroupName, filters[i])) { isFiltered = false; break; @@ -88,8 +88,16 @@ function isValid(value, filter) { case "EQUAL": return value.equals(filterValue); + case "NOT_EQUAL": + return !value.equals(filterValue); case "CONTAINS": return value.includes(filterValue); + case "NOT_CONTAINS": + return !value.includes(filterValue); + case "ISNULL": + return value == null; + case "ISNOTNULL": + return value != null; } return false;