Skip to content

Commit

Permalink
Update version to 0.15.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tomachalek committed Feb 22, 2021
1 parent d0e293f commit 6a5bb51
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/plugins/ucnk_remote_auth5/backend/mysql.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,8 @@ def load_all_corpora(self, user_id, substrs=None, keywords=None, min_size=0, max

def load_featured_corpora(self, user_lang):
cursor = self._db.cursor()
desc_col = 'c.description_{0}'.format(user_lang[:2])
lang_base = user_lang[:2]
desc_col = 'c.description_{}'.format(lang_base if lang_base == 'cs' else 'en')
cursor.execute('SELECT c.name AS corpus_id, c.name AS id, ifnull(rc.name, c.name) AS name, '
'{0} AS description, c.size '
'FROM corpora AS c '
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "kontext",
"description": "An advanced web front-end for the Manatee-open corpus search engine",
"license": "GPL-2.0",
"version": "0.15.0",
"version": "0.15.1",
"repository": {
"type": "git",
"url": "https://github.com/czcorpus/kontext"
Expand Down

0 comments on commit 6a5bb51

Please sign in to comment.