We're updating the issue view to help you get more done. 

Quick-search returns blank on search expressions such as ca_entity_labels.surname:smith

Description

In the top right hand box for quick-search on most pages, using the search-restricted-to-attribute syntax yields a results page whose core is blank (no mention of number of results per record type at all).

To reproduce, type
ca_entity_labels:surname

or any other such terms in the quick-search box.
They get (falsely) detected by caSearchGetAccessPoints as access_points, yet caSearchGetTablesForAccessPoints will not find a match (in app/helpers/searchHelpers.php). At which point all results going into va_searches in app/controllers/find/QuickSearchController.php are null, which makes the view go empty, when it should show results if any, or at least an error message if this is deemed to be an "illegal search syntax".

Environment

None

Activity

Show:
Kehan Harman
January 17, 2017, 8:35 PM

Is the correct syntax not `ca_entity_labels.surname:Jones`. There isn't a `.` in your string above which would result in it being interpreted as an access point.

yelto
January 18, 2017, 4:15 AM
Edited

Hello, thanks for commenting. Well, I get the same behavior with ca_entity_labels:Jones as with ca_entity_labels.surname:Jones [well, ok, I used smith rather than Jones in the title of the bug report but close enough!]

Both work from the Object basic search; neither does from QuickSearch, which results in a truncated page. I'd be delighted to learn that this is due to some quirk in our config (though looking at the code...).

Do you not see the same behavior with ca_entity_labels.surname:Jones on you system?

Thanks again!

User known
January 18, 2017, 10:22 AM

Fix in GitHub/develop

Fixed

Assignee

User known

Reporter

yelto

Labels

None

Components

Affects versions

Priority

Major
Configure