The function to set/edit departments now factors in the possibility of having multiple managers, so it adds all the users specified in the string (second parameter).

The searching tickets function now takes an extra parameter, "includeArchived", which determines whether or not the user wishes to include, exclude or display exclusively tickets from the archive.