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

Merge branch '1071582_FixClassificationSetOutdatedFlag' into '2021.0.0'

[Projekt: Entwicklung - xRM][TicketNr.: 1071582][Kleinere Bugs bei ClassificationAdmin]

See merge request xrm/basic!586
parents ef0646ef f0efa62b
No related branches found
No related tags found
No related merge requests found
......@@ -309,8 +309,11 @@ ClassificationUtils.setClassificationStorageDatasetsOutdated = function (pTarget
//set outdated flag for the classificationStorage datasets
if(relevantForClassification && classificationStorageIds.length > 0) // also check for the classificationStorageIds.length since it could be empty
{
var cond = newWhere("CLASSIFICATIONSTORAGE.OBJECT_ROWID", classificationStorageIds, SqlBuilder.IN());
cond.updateData(true, "CLASSIFICATIONSTORAGE", ["OUTDATED"], null, [1]);
for (i = 0; i < classificationStorageIds.length; i++)
{
var cond = newWhere("CLASSIFICATIONSTORAGE.OBJECT_ROWID", classificationStorageIds[i], SqlBuilder.IN());
cond.updateData(true, "CLASSIFICATIONSTORAGE", ["OUTDATED"], null, [1]);
}
}
};
......
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