diff --git a/pandora/log/models.py b/pandora/log/models.py index 14eb15280..61b176f1c 100644 --- a/pandora/log/models.py +++ b/pandora/log/models.py @@ -9,7 +9,7 @@ import ox import managers class Log(models.Model): - created = models.DateTimeField(auto_now_add=True) + created = models.DateTimeField(auto_now_add=True, db_index=True) modified = models.DateTimeField(auto_now=True) user = models.ForeignKey(User, default=None, blank=True, null=True) url = models.CharField(max_length=1000, default='') diff --git a/static/js/pandora/clipList.js b/static/js/pandora/clipList.js index de563dd31..6ac4aaf2c 100644 --- a/static/js/pandora/clipList.js +++ b/static/js/pandora/clipList.js @@ -91,7 +91,7 @@ pandora.ui.clipList = function(videoRatio) { .bindEvent({ init: function(data) { // fixme: status needs an overhaul - if (!ui.item) { + if (!ui.item && pandora.$ui.total) { pandora.$ui.total.html(pandora.ui.status('total', data)); } }, diff --git a/static/js/pandora/item.js b/static/js/pandora/item.js index c1ad45e29..71d2b2c5a 100644 --- a/static/js/pandora/item.js +++ b/static/js/pandora/item.js @@ -360,12 +360,6 @@ pandora.ui.item = function() { }) ); } - - if (result.data) { - var director = result.data.director ? ' ('+result.data.director.join(', ') + ')' : ''; - pandora.$ui.total.html(result.data.title + director); - } - }); return that;