-
Download a copy of the
search.views.xml
file from the Specify GitHub repostiory:https://raw.githubusercontent.com/specify/specify6/master/config/backstop/search.views.xml
-
Go to the App Resources panel.
-
At a level of your choosing, click Add Resource
-
Select the Form Definitions resource type:
Name is
search.views.xml
: -
Now click Load File and select the downloaded
search.views.xml
file downloaded in step 1.Now click Save!
-
Now we can begin making edits to the search view definitions.
Find the
<viewdef>
that corresponds with the search form you wish to modify. You can find it by searching for the table name in the embedded XML editor.For this example, I’m editing the
Locality
search form definition. -
Add any fields that you would like following the same rules and logic established for other form definitions.
Read this first: Editing Forms
In this case, I added
latitude1
andlongitude1
as searchable fields on this form.Once this is complete, click Save.
-
Log out and log back in!
Once you go to search using the query combo box, you will see this:
Updated Locality Search form: