File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed
Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -29,16 +29,16 @@ var Testing = React.createClass({
2929 < div className = "col s12 col-xs-12" >
3030 < CategorySearch
3131 componentId = "SearchSensor"
32- appbaseField = "name"
32+ dataField = "name"
3333 categoryField = "brand.raw"
3434 placeholder = "Search Cars"
35- autocomplete = { false }
35+ autosuggest = { false }
3636 />
3737 </ div >
3838 < div className = "col s12 col-xs-12" >
3939 < RatingsFilter
4040 componentId = "RatingsSensor"
41- appbaseField = "rating"
41+ dataField = "rating"
4242 title = "RatingsFilter"
4343 data = {
4444 [ { start : 4 , end : 5 , label : "4 stars and up" } ,
@@ -57,25 +57,25 @@ var Testing = React.createClass({
5757 < div className = "col s6 col-xs-6" >
5858 < ResultCard
5959 componentId = "SearchResult"
60- appbaseField = "name"
60+ dataField = "name"
6161 title = "Results"
6262 from = { 0 }
6363 size = { 20 }
6464 onData = { this . onData }
6565 sortOptions = { [
6666 {
6767 label : "Lowest Price First" ,
68- appbaseField : "price" ,
68+ dataField : "price" ,
6969 sortBy : "asc"
7070 } ,
7171 {
7272 label : "Highest Price First" ,
73- appbaseField : "price" ,
73+ dataField : "price" ,
7474 sortBy : "desc"
7575 } ,
7676 {
7777 label : "Most rated" ,
78- appbaseField : "rating" ,
78+ dataField : "rating" ,
7979 sortBy : "desc"
8080 }
8181 ] }
Original file line number Diff line number Diff line change 77 < title > Reactive Search sample</ title >
88 <!-- CSS -->
99 < link rel ="stylesheet " type ="text/css " href ="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.0/css/materialize.min.css " />
10- < link rel ="stylesheet " type ="text/css " href ="https://cdn.rawgit.com/appbaseio/reactivesearch/v0.4.1 /dist/css/style.min.css " />
10+ < link rel ="stylesheet " type ="text/css " href ="https://cdn.rawgit.com/appbaseio/reactivesearch/master /dist/css/style.min.css " />
1111 <!-- JavaScript -->
1212 < script type ="text/javascript " src ="https://cdnjs.cloudflare.com/ajax/libs/babel-core/5.8.24/browser.js "> </ script >
1313 < script type ="text/javascript " src ="https://cdnjs.cloudflare.com/ajax/libs/react/15.4.2/react.min.js "> </ script >
1414 < script type ="text/javascript " src ="https://cdnjs.cloudflare.com/ajax/libs/react/15.4.2/react-dom.min.js "> </ script >
1515 < script type ="text/javascript " src ="https://maps.google.com/maps/api/js?key=AIzaSyC-v0oz7Pay_ltypZbKasABXGiY9NlpCIY&libraries=places "> </ script >
16- < script type ="text/javascript " src ="https://cdn.rawgit.com/appbaseio/reactivesearch/v0.4.1 /umd/ReactiveSearch .js "> </ script >
16+ < script type ="text/javascript " src ="https://cdn.rawgit.com/appbaseio/reactivesearch/master /umd/reactivesearch .js "> </ script >
1717</ head >
1818< body >
1919 < div id ="root "> </ div >
You can’t perform that action at this time.
0 commit comments