[react-search-refiners] Bug fix #170 (#731)

* * Migrated to SPFx 1.7.0
* Fixed sort feature
* Added a sample TypeScript function to demonstrate NLP processing for the search query
* Miscelleanous improvements

* * Fixed wrong ids and dependencies

* * Updated README

* * Replaced JSOM taxonomy methods by the @pnp/sp-taxonomy counterparts + refactored refiners translation logic
* Updated the filter panel to close on click out
* Updgraded to @pnp 1.2.6
* Added a event listeners for hash change when the search box in bound to the 'URL fragment' SPFx builtin data source property so you can now build predefined filters with '#'.
* Fix suggestions panel position to be absolute

* * Quick fix on the search box

* * Added a default query option (related to https://github.com/SharePoint/sp-dev-fx-webparts/issues/556)

* * Added the ability to search by clicking on the search box icon

* * Replaced 'refiners' property by a property collection.

* * Replaced the 'sortList' WP property by a collection data control from PnP.

* * Replaced 'sortableFields' by a collection data pnp control.

* * Replaced the code editor control by the PnP one
* Set fix width on previews

* * Added result type interface

* * Added the result types feature
* Removed 'on-el-resize'. Too much trouble, not really needed. Now the preview width can be set manually.

* * Miscelaneous fixes

* * Upddated documentation + instructions

* * Upgraded to 1.13.0 for @pnp controls

* * [react-search-refiners] Version 2.3.0.0

* * Fixes and improvements as pointed out by @wobba.

* * Added missing file

* * Updated README with result types use
* Updated the code to load the property pane code field async and reduce mainbundle size

* * Updated README

* * Bug fix https://github.com/SharePoint/sp-dev-fx-webparts/issues/730
This commit is contained in:
Franck Cornu 2018-12-19 02:20:31 -05:00 committed by Vesa Juvonen
parent 55144c616b
commit b35b81a92d
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,6 @@ export default class SearchResultsContainer extends React.Component<ISearchConta
FilterPanel = filterPanelComponent.FilterPanel;
}
this.setState({
results: searchResults,
resultCount: searchResults.TotalRows,
@ -333,6 +332,7 @@ export default class SearchResultsContainer extends React.Component<ISearchConta
this._getLocalizedFilters(searchResults.RefinementResults);
this.setState({
resultCount: searchResults.TotalRows,
results: searchResults,
availableFilters: localizedFilters,
areResultsLoading: false,