From 78f7feecc88f213af6da45b907f6ea780eea6877 Mon Sep 17 00:00:00 2001 From: Mael Date: Fri, 23 Nov 2018 13:04:21 +0000 Subject: [PATCH] =?UTF-8?q?Tri=20alphab=C3=A9tique=20de=20la=20page=20/r?= =?UTF-8?q?=C3=A8gles?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/components/SearchBar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/components/SearchBar.js b/source/components/SearchBar.js index 60a0282b1..85dd0938e 100644 --- a/source/components/SearchBar.js +++ b/source/components/SearchBar.js @@ -1,6 +1,6 @@ import { encodeRuleName } from 'Engine/rules.js' import Fuse from 'fuse.js' -import { pick } from 'ramda' +import { sortBy, pick } from 'ramda' import React from 'react' import Highlighter from 'react-highlight-words' import { withI18n } from 'react-i18next' @@ -95,7 +95,7 @@ class SearchBar extends React.Component { /> {this.props.showDefaultList && !this.state.inputValue && (