Following is detail of an example scenario where lookup field is not working in advanced search (Find->Object->Advanced Search). I tested on Collective Access demo website (http://demo.collectiveaccess.org
) and the detail is based on this demo site.
I have created a new advance search form called ‘lookup_search_form’ for objects. On this form I have placed field ‘Language’. Originally it is a select box/drop-down field, selecting a language (for example Japanese) and executing search gives correct results. I also added this field in object editor screen on tab ‘Type-Specific Metadata’ of type ‘Artwork’.
For test purposes I changed it from ‘drop-down’ to ‘look-ahead lookup’. It works fine in object editor, where a language can be selected by typing first three characters a language name or typing three empty spaces to get the whole list. However, it does not work on advanced search form, where it is rendered as lookup too but it never gives anything when three characters or empty spaces are typed. Any clue on how to make lookup fields work in advanced search?