Include property name in the browse page title
This commit is contained in:
parent
45b9ec23ea
commit
76cd8cefba
4
app.py
4
app.py
|
@ -873,13 +873,15 @@ def browse_page():
|
||||||
item['url'] = url_for('item_page', item_id=item['item_id'])
|
item['url'] = url_for('item_page', item_id=item['item_id'])
|
||||||
item['image'] = detail[item['image_filename']]
|
item['image'] = detail[item['image_filename']]
|
||||||
|
|
||||||
title = ' / '.join(item_labels[qid] for pid, qid in params)
|
title = ' / '.join(find_more_props[pid] + ': ' + item_labels[qid]
|
||||||
|
for pid, qid in 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,
|
||||||
label=title,
|
label=title,
|
||||||
pager=pager,
|
pager=pager,
|
||||||
|
params=params,
|
||||||
item_map=item_map,
|
item_map=item_map,
|
||||||
page=page,
|
page=page,
|
||||||
labels=find_more_props,
|
labels=find_more_props,
|
||||||
|
|
Loading…
Reference in a new issue