Skip to content
Commit 3f028d54 authored by Pranav Ganorkar's avatar Pranav Ganorkar Committed by Jonathan Kang
Browse files

Add search type option to search popover

A radio button group was addded to select between "Exact"
and "Substring" search types.The default search type is
"Substring" search.

We hide the search type radio button group if "All Available Fields"
is selected as exact search doesn't make sense in that case.

The GlJournalModel class was modified to handle the case when all
search fields are exact and there are no substring matches.It was also
modified to handle the case when the exact search match string has a
null or empty value in which case we do not pass it to
gl_journal_set_matches().

GL_QUERY_* prefix was added to the enum nicks for making
it consistent with the enum name GlQuerySearchType.

https://bugzilla.gnome.org/show_bug.cgi?id=767996
parent b58ad1fc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment