New Suggested 5/31/2023 by Dejan Hanžekovič
2
votesExclude administrators from ticket assignments list
Hi.
We would need an option to exclude administrators from ticket assignments.
A person can have two accounts admin and technician type. Therefore same person
is shown twice on the ticket assignment list of values.
It would be great, if we could disable ticket assignments to administrators.
BR
Dejan Hanžekovič
Thanks. I made JS solution. Administrators have word ADMIN in name.
$(document).ready(function() {
const changeSelected = (e) => {
$("#selTechId option:contains(ADMIN)").remove();
};
document.querySelector('#selTechId').addEventListener('mouseover', changeSelected);
});
$(document).ready(function() {
const changeSelected = (e) => {
$("#selTechId option:contains(ADMIN)").remove();
};
document.querySelector('#selTechId').addEventListener('mouseover', changeSelected);
});
6/6/2023 1:51 AM
Log in to comment...
select#selTechId option[value='3684'] { display: none; }
Where 3684 is the user id to hide.