Closed Li-ReDBox closed 8 years ago
The enhancement is to List the available search fields below the search box e.g.
Search keywords (e.g. acad_num:17 to find ACAD # 17)
acad_num other_num group common_name genus species subspecies category extracted_by_date acad_location date_of_entry abc_num description region country state locallity location lat lon datum collection_date collected_by quality museum museum_num sampled_by sample_date mismatch_reason sample_repat Import permit #
@sgoodswen, do you have any styling requirement? I found the place to change and minimal work has been done. You can go to dev site have a look.
Looks good except Import, permit, # is actually one field "Import permit #". However, this search does not work because of the spaces (see issue #14 but Carbon date no longer required).
I think the style might be clearer if "(e.g. acad_num:17 to find ACAD # 17)" is removed and examples are added beneath the keywords after a line space. e.g.
... mismatch_reason, sample_repat ,Import permit #
Examples
List the sample with the ACAD number 20. Enter: acad_num:20
List all samples containing the common name Bison. Enter: common_name:Bison
List all samples containing Bison in any field. Enter: Bison
List all samples containing Bison or Pig in any field. Enter: bison OR pig
List all samples containing Bison and Russia in any field. Enter: Bison AND Russia
List all samples from the country Russia with the category Bone. Enter: country:russia category:bone
@sgoodswen: I have updated it with your examples and removed "(e.g. acad_num:17 to find ACAD # 17)". Let me know what you think.
Has this issue been closed?
The display looks good especially the examples highlighted in red
This issue can be closed
From: Li-ReDBox [notifications@github.com] Sent: Tuesday, 2 February 2016 1:52 PM To: acadsamplesdb/acad_samples Cc: Stephen Goodswen Subject: Re: [acad_samples] List the available search fields below search box (#25)
@sgoodswenhttps://github.com/sgoodswen: I have updated it with your examples and removed "(e.g. acad_num:17 to find ACAD # 17)". Let me know what you think.
Has this issue been closed?
— Reply to this email directly or view it on GitHubhttps://github.com/acadsamplesdb/acad_samples/issues/25#issuecomment-178343126.
Enhancement ID 16:
User without previous experience can search against indexed key words in a format of: e.g. common_name: country: