I need to have a 3 level category hierarchy (Cat - SubCat - SubSubCat) and I'm using dropdowns to store all this data
I'm using ACLs to limit the items in the subCat according to the selected Cat
And also ACLs to limit the SubSubCats according to the selected SubCat
Everything is OK if the user selects:
1) a Cat
2) then a SubCat
3) and then a SubSubCat.
My problem:
in step 2) he can change the Cat without any problem and
in step 3) he can change the SubCat without any problem. But if he changes the Cat, the SubCat list gets updated BUT the SubSubCat DOESN'T (and still lists the items of the previous Cat/SubCat)
I've been trying to fix this by rearranging the ACLs order - No success;
and by placing the following ACL with an order lower to the above mentioned ACL's in an attempt to reset the 3rd level dropdown to an empty list prior to the evaluation of the ACLs that select the items for the 2nd level and the 3rd level - no success either
Code: Select all
$Self->{TicketAcl}->{'099-Clear_3rdLevel'} = {
Properties => { },
Possible => { Ticket => { DynamicField_dfLevel3 => [''], }, },
};
thanks
jorge