Compare commits
No commits in common. "c2df43220b8e1ace2b44e5b133ae8d08e694d254" and "e5339fd29777cbb20292f5c766fcf64aa1daa125" have entirely different histories.
c2df43220b
...
e5339fd297
2 changed files with 1 additions and 5 deletions
|
|
@ -1375,7 +1375,7 @@ class Item(models.Model):
|
|||
self.poster_height = self.poster.height
|
||||
self.poster_width = self.poster.width
|
||||
self.clear_poster_cache(self.poster.path)
|
||||
if self.poster_width and self.cache.get('posterRatio') != self.poster_width / self.poster_height:
|
||||
if self.cache.get('posterRatio') != self.poster_width / self.poster_height:
|
||||
self.update_cache(poster_width=self.poster_width,
|
||||
poster_height=self.poster_height)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,10 +1,6 @@
|
|||
'use strict';
|
||||
|
||||
pandora.getItemTitle = function(itemData, includeYear) {
|
||||
var director = itemData.director
|
||||
if (!Ox.isArray(director)) {
|
||||
director = [director]
|
||||
}
|
||||
return (itemData.title || Ox._('Untitled')) + (
|
||||
Ox.len(itemData.director) || (includeYear && itemData.year)
|
||||
? ' (' + (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue