Followup fix for bug#9828 - Dynamic field updates of unchanged dynamic fields cause event based actions to fail.
Fixed bug#9844 - Column filter not saved on ticket overviews.
Fixed bug#9864 - No filter icon for dynamic fields in ticket overviews.
Followup fix for bug#9828 - Dynamic field updates of unchanged dynamic fields cause event based actions to fail.
Removed duplicated code.
Fixed bug#9863 - Reset single filter in overviews leads to no results page.
Removed last sync date to prevent merge conflicts.
Fixed scale settings GUI.
Added validation for time scales.
Fixed distinct call in TicketSearch() to not use other fields than id.
This could cause duplicate entries if fields of joined tables were in the select clause.
Revert "Fixed distinct call in TicketSearch() to not use other fields than id."

This reverts commit d1f96a3583c1120211c0e78cf117d7e34b7a7079.
Moved JS logic from DTL to JS API.
Moved JS logic from DTL to JS API.
Repaired stats settings storing. Tidied.
Fixed bug#9872 - Default service is not applied to new customerusers.
Merge remote-tracking branch 'upstream/master'