collectiveaccess/providence — pull request #82 by naeemmuhammad (2014-02-18 11:39:41+00:00)
Title: Lookup Field in Advance Search Issue Fixed

This fix solves the following two issues related to the use of lookup field in advance search:
1. Lookup field and its associated hidden field always have a default value. Default value is needed for lookup field at other places in CA but in advance search it should not be. This fix identifies the request for drawing a lookup field, if it comes from advance search no default value is assigned to the lookup field and its associated hidden field.

2. Doing a search based on lookup field constructs a wrong solr query, it contains attribute/element name, whereas in new CA design a solr query should contain element codes. This fix replaces element names with corresponding element codes.