Fix publication search by replacing (incorrect) manual serialization code with jQuery serialize function.