collectiveaccess/providence — pull request #79 by naeemmuhammad (2014-01-31 14:26:50+00:00)
Title: Default value for lookup fields removed.

Unlike other elements lookup field and its corresponding hidden field are filled with a default value. Advance search does not work if there is a lookup field on the search form, because both the lookup field and its corresponding hidden fields are initialized with a default value. Resetting or deleting default value only works for the lookup field not for the hidden field, therefor the search query in advance search will always contain the default value of the hidden field. This fix removes the assignment of default values for the lookup field and corresponding hidden field.