Fixed activity toolbox filtering.

Due to a bug in the orchard-workflows.js script, the activity toolbox filter was broken.
This commit is contained in:
Sipke Schoorstra
2015-12-30 17:52:46 +01:00
parent c8b5664d26
commit fde4c32aff

View File

@@ -97,7 +97,7 @@
} else {
var lowerCaseText = text.toLowerCase();
$(".activity-toolbox-item").each(function () {
var recordText = $(this).data("activity-text").toLowerCase();
var recordText = $(this).data("activity-name").toLowerCase();
$(this).toggle(recordText.indexOf(lowerCaseText) >= 0);
});
}