Advancedsearch: Dropped reference number solution.

The whole functionality should be rethinked and reworked so that it supports the reference formatter setting in the registry.