[BLANK]
which appears to work for text fields like this: ca_objects.idno:"[BLANK]"
(http://docs.collectiveaccess.org/wiki/Search_Syntax#Searching_for_blank_values)
ca_objects.mydate:null
doesn'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.
http://imgur.com/DJTJbZN
http://imgur.com/ELKRgN0
as you can see from the 1st pic, the location info below "Edit Art" (top left) is stuck to the previous location and not the current location. How do I fix this? We're using movement location tracking if that makes a difference. Thanks
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?
Example:
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.
Thanks.