ca_objects.mydate:nulldoesn't appear to work. Searching for
ca_table.attribute:[BLANK]works for text, georeference, currency, weight, length and URL attributes as per the test here: https://github.com/collectiveaccess/providence/blob/bfb71ef8c06adb0e1b7dcdbc0c772d6aa790bfe2/tests/testsWithData/queries/AttributeValueSearchQueryTest.php#L185-L208. Anyway it doesn't appear to be supported by date attributes.
Hi @naeemmuhammad you can create a custom advanced search in the
search.conf file (see http://docs.collectiveaccess.org/wiki/Pawtucket2:Advanced_Search for a description)
You can then create the new form named in the
view = field of your newly defined search using display bundles. To define a checkbox add
render=is_set to the end of the bundle specifier (e.g.
ca_objects.public_access%render=is_set). Adding a search field for a field controlled by a list or set vocabulary will automatically populate as a dropdown.
I am using ajax requests on some html components in one of my search views in Pawtucket2. Ajax calls another view in the same directory (views/Search), however requests are returned with a view containing header and footer. How can I integrate ajax calls in views and receive response without header and footer?
I have a drop down box in advanced search view (/views/Search/ ca_objects_advanced_search_objects_html.php). When an item in the drop down box is selected an ajax request to selection.php is made. Code in selection.php does some processing on the ajax request and returns some data that will be used to populate some additional html components in advanced search view. Ajax call is successfully made to selection.php, however response of the request contains a full view with header and footer.