Skip to content

Commit

Permalink
Merge branch 'release-2.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
abidibo committed Feb 22, 2021
2 parents d561ade + 54cd356 commit 07cb0fc
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ With this functionality, you can configure a sidebar input search field with aut
},
```

The autocomplete field will call a custom api at every keyup event (for strings of length > 3). Such api receives the `text` param in the querystring and should return a json response including the search results in the form:
The autocomplete field will call a custom api at every keyup event. Such api receives the `text` param in the querystring and should return a json response including the search results in the form:

```
{
Expand Down
2 changes: 1 addition & 1 deletion baton/static/baton/app/dist/baton.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion baton/static/baton/app/dist/baton.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion baton/static/baton/app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion baton/static/baton/app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "baton",
"version": "2.1.0",
"version": "2.1.1",
"description": "Django Baton App",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion baton/static/baton/app/src/core/Menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ let Menu = {
navigateDataList(code)
} else {
// search
if ($(field).val().length <= 3) {
if ($(field).val().length < 1) {
dataList.empty()
return
}
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@
# built documents.
#
# The short X.Y version.
version = u'2.1.0'
version = u'2.1.1'
# The full version, including alpha/beta/rc tags.
release = u'2.1.0'
release = u'2.1.1'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion docs/configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ With this functionality, you can configure a sidebar input search field with aut
'url': '/api/path/',
},

The autocomplete field will call a custom api at every keyup event (for strings of length > 3). Such api receives the ``text`` param in the querystring and should return a json response including the search results in the form: ::
The autocomplete field will call a custom api at every keyup event. Such api receives the ``text`` param in the querystring and should return a json response including the search results in the form: ::

{
length: 2,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

setup(
name='django-baton',
version='2.1.0',
version='2.1.1',
packages=['baton', 'baton.autodiscover', 'baton.templatetags'],
include_package_data=True,
license='MIT License',
Expand Down
Binary file modified testapp/app/db.sqlite3
Binary file not shown.

0 comments on commit 07cb0fc

Please sign in to comment.