Fix opening items from search
This commit is contained in:
parent
dcc0a61560
commit
def9fe54b8
@ -49,7 +49,7 @@ class SearchApi:
|
|||||||
if hit['_source']['bundle'] == 'program':
|
if hit['_source']['bundle'] == 'program':
|
||||||
results.append(Program(
|
results.append(Program(
|
||||||
channel=hit['_source']['site'],
|
channel=hit['_source']['site'],
|
||||||
path=hit['_source']['url'].strip('/'),
|
path=hit['_source']['url'].split('/')[-1],
|
||||||
title=hit['_source']['title'],
|
title=hit['_source']['title'],
|
||||||
description=hit['_source']['intro'],
|
description=hit['_source']['intro'],
|
||||||
cover=hit['_source']['img'],
|
cover=hit['_source']['img'],
|
||||||
|
Loading…
Reference in New Issue
Block a user