Skip to content

Commit

Permalink
pyes -- 0.16
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonzou committed Sep 16, 2014
1 parent e9613ac commit d4c9422
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions bibserver/dao.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import urllib
from datetime import datetime
import hashlib
import logging

import pyes
from werkzeug import generate_password_hash, check_password_hash
Expand All @@ -14,6 +15,7 @@
from bibserver.config import config
import bibserver.util, bibserver.auth

log = logging.getLogger(__name__)

def make_id(data):
'''Create a new id for data object based on a hash of the data representation
Expand Down
2 changes: 1 addition & 1 deletion bibserver/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def collections(self):
self.search_options['search_url'] = '/query/collection?'
self.search_options['facets'] = [{'field':'owner','size':100},{'field':'_created','size':100}]
self.search_options['result_display'] = [[{'pre':'<h3>','field':'label','post':'</h3>'}],[{'field':'description'}],[{'pre':'created by ','field':'owner'}]]
self.search_options['result_display'] = config['colls_result_display']
self.search_options['result_display'] = config['collections_result_display']
return render_template('collection/index.html', current_user=self.current_user, search_options=json.dumps(self.search_options), collection=None)
elif len(self.parts) == 2:
if self.parts[0] == "collections":
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
version = '0.0.1',
packages = find_packages(),
install_requires = [
"Flask==0.08",
"Flask==0.10",
"Flask-Login",
"Flask-WTF",
"pyes==0.20",
"pyes==0.16",
"chardet",
"requests",
],
Expand Down

0 comments on commit d4c9422

Please sign in to comment.