Pass URL to catalog page.

This commit is contained in:
Edward Betts 2019-10-14 14:42:36 +01:00
parent c15370fbbf
commit 94398524b1

3
app.py
View file

@ -681,6 +681,8 @@ def browse_page():
title = ' / '.join(find_more_props[pid] + ': ' + item_labels[qid] title = ' / '.join(find_more_props[pid] + ': ' + item_labels[qid]
for pid, qid in params) for pid, qid in params)
catalog_url = url_for('catalog_page', **dict(params))
return render_template('find_more.html', return render_template('find_more.html',
facets=facets, facets=facets,
prop_labels=find_more_props, prop_labels=find_more_props,
@ -688,6 +690,7 @@ def browse_page():
pager=pager, pager=pager,
params=params, params=params,
item_map=item_map, item_map=item_map,
catalog_url=catalog_url,
page=page, page=page,
labels=find_more_props, labels=find_more_props,
bindings=bindings, bindings=bindings,