Return more info for in_wanted and in_library. fixes #175

This commit is contained in:
Ruud
2012-04-29 17:31:12 +02:00
parent f6a7655f9a
commit 0b5dbd202d
2 changed files with 4 additions and 4 deletions
@@ -326,9 +326,9 @@ Block.Search.Item = new Class({
'src': self.info.images.poster[0]
}) : null,
self.info.in_wanted ? new Element('span.in_wanted', {
'text': 'Already in wanted list: ' + self.info.in_wanted.label
'text': 'Already in wanted list: ' + self.info.in_wanted.profile.label
}) : (self.info.in_library ? new Element('span.in_library', {
'text': 'Already in library: ' + self.info.in_library.label
'text': 'Already in library: ' + self.info.in_library.profile.label
}) : null),
self.title_select = new Element('select', {
'name': 'title'