jlukic
6d34ae21e5
Fixes issue where search wont close when clicked on message #3039
9 years ago
jlukic
4ea2514905
Adds category search component
9 years ago
Jack
83e2ef5797
Fixes createEvent to use same bubbling/cancelable settings as specified in spec
9 years ago
Jack
0905774143
Fixes createEvent to use same bubbling/cancelable settings as specified in spec
9 years ago
Jack
2bae11673d
Swaps out all calls to trigger() #3108
9 years ago
Jack
af8c4a5454
Fix formatting
9 years ago
Fabien Blanchard
3035d478bb
Fixed fields.url
9 years ago
Machisté N. Quintana
949d51e79d
Call onSearchQuery whether or not results are cached
Fixes https://github.com/Semantic-Org/Semantic-UI/issues/3106
9 years ago
Jack
e5aca0a523
Swaps out all calls to trigger() #3108
9 years ago
Jack
f967c80b3e
Fix formatting
9 years ago
Fabien Blanchard
6fce6825ee
Fixed fields.url
9 years ago
Machisté N. Quintana
641feb44e2
Call onSearchQuery whether or not results are cached
Fixes https://github.com/Semantic-Org/Semantic-UI/issues/3106
9 years ago
Alberto Maturano
725f8242c0
Typos
9 years ago
jlukic
326e1df31b
Details
9 years ago
Jack Lukic
57ee1041f5
#2645 adds fields parameter for using custom server responses with search
9 years ago
jlukic
2e27d00a97
Add visibility check back to can show #2842
9 years ago
jlukic
d6498722ec
#2842 , Calling show results does not require input to be focused
9 years ago
jlukic
a8d28c5bd8
Explain query is available in onSearchQuery
9 years ago
anibalmf1
0119240944
Update search.js to allow custom display fields
This change allow the developter to choose the field to display in the results. So we don't have to change our json's object field names to the fixed ones (title, price and description).
usage:
$('div[name="searchDiv"]').search({
source: [{id:0, myfield: 'some text', extrafield: 'ST'}, {id:1, myfield: 'another text', extrafield: 'AT'}],
searchFields: [
myfield
],
displayField: extrafield
});
10 years ago
Jack Lukic
3ed7ff7ba5
Fix exit conditions for search object
10 years ago
Jack Lukic
8278323cad
Fix jshint errors in search
10 years ago
jlukic
a988e3e858
#2426 , onSelect did not correctly attach result metadata with category search
10 years ago
jlukic
7fbf624b98
Enable local caching in all modules by default, add release notes
10 years ago
jlukic
bb8a9f57ee
Search will now create results container automatically, and add category search classname
10 years ago
jlukic
30ec47021e
Add transform origin to search
10 years ago
jlukic
f1b84555cb
#2266 , minCharacterLength should be part of query, not throttled input event
10 years ago
jlukic
40fb0743eb
Setup embed component, fix all contributors banners in src
10 years ago
jlukic
79fb39bdd6
Match is slightly more performant
10 years ago
jlukic
bdf1f0a387
Minor re-ordering
10 years ago
jlukic
bcd6ebe87c
Search IDs now not zero indexed
10 years ago
jlukic
74e5adbbd5
Fuzzy search no longer evaluates true on numerical matches. Fixed 'get result' when id is falsey i.e 0
10 years ago
jlukic
1d481d23be
#2163 , #2162 . Create id now uses counters for index, in case results are returned as object instead of array
10 years ago
jlukic
0498b4d405
#2163 Logic error
10 years ago
jlukic
cbd8702b94
Fixes #2163 #2128 #2162 Search results are now stored in metadata for each result and retrieved from metadata. Results now have a unique id injected based on position which can also be used for lookup, i.e. A1 = first category first result.
10 years ago
jlukic
b3612b2792
Fix all the linting errors i forgot to check
10 years ago
jlukic
bcc4809237
Fix keyboard selection after multi remove, settings comments
10 years ago
jlukic
c4804220aa
Probably better var name #2139
10 years ago
jlukic
85d66bad45
Variable name mismatch #2139
10 years ago
jlukic
ec558acd3f
Add comments to search settings
10 years ago
jlukic
a2994be231
Fixes #2059 #2070 rewrite object search used in search module to be much less obtuse
10 years ago
jlukic
26fe5ba81c
#2070 - dont continue loop unnecessarily, clarify variable names
10 years ago
jlukic
07b83aa01a
#2079 - Fix variable names
10 years ago
jlukic
eacd01bb5a
Remove faulty error conditions from search #2066
10 years ago
jlukic
a0e7ba3666
#2065 add clear cache to search
10 years ago
jlukic
e571eacc50
Updates tos earch
10 years ago
jlukic
04df7b8101
#2042 missing delegated selector in search
10 years ago
jlukic
3f44b1cad7
#2042 add delegated events to search
10 years ago
jlukic
6f1bf2ea89
Set all modules to verbose: false by default
10 years ago
jlukic
fe8628cad2
Fixes #2017 , onSelect uses startsWith matching to find selected value
10 years ago
jlukic
b03c7d3faf
#2012 , Search should pass along debug to API
10 years ago