Fixed issue with clicking ticket filter optgroup labels to select all options.
Fixed issue when linking to tickets with `#1234`.
Merge branch '3.4'

* 3.4:
  Fixed issue when linking to tickets with `#1234`.
  Fixed issue with clicking ticket filter optgroup labels to select all options.