summaryrefslogtreecommitdiffstats
path: root/templates/show_songs.inc.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-05-12 05:58:17 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2008-05-12 05:58:17 +0000
commit3634ba80946b818de7f0505ed44d947e70dd41ec (patch)
tree03749fb9cc1f1fc6ef157ac187cea48f1f1a7098 /templates/show_songs.inc.php
parent3e36e0b01e843ec8d4e8a63a72e5f7425921dab8 (diff)
downloadampache-3634ba80946b818de7f0505ed44d947e70dd41ec.tar.gz
ampache-3634ba80946b818de7f0505ed44d947e70dd41ec.tar.bz2
ampache-3634ba80946b818de7f0505ed44d947e70dd41ec.zip
added in some caching and add the database upgrade that will make the taging mostly work
Diffstat (limited to 'templates/show_songs.inc.php')
-rw-r--r--templates/show_songs.inc.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/templates/show_songs.inc.php b/templates/show_songs.inc.php
index 54ead654..1512c67e 100644
--- a/templates/show_songs.inc.php
+++ b/templates/show_songs.inc.php
@@ -45,15 +45,14 @@ $ajax_url = Config::get('ajax_url');
<th class="cel_track"><?php echo Ajax::text('?page=browse&action=set_sort&sort=track',_('Track'),'sort_song_track'); ?></th>
<th class="cel_time"><?php echo Ajax::text('?page=browse&action=set_sort&sort=time',_('Time'),'sort_song_time'); ?></th>
<?php if (Config::get('ratings')) {
- Rating::build_cache('song', $object_ids);
- ?>
+ Rating::build_cache('song', $object_ids);
+?>
<th class="cel_rating"><?php echo _('Rating'); ?></th>
<?php } ?>
<th class="cel_tags"><?php echo _('Tags'); ?></th>
<th class="cel_action"><?php echo _('Action'); ?></th>
</tr>
<?php
- Song::build_cache($object_ids);
foreach ($object_ids as $song_id) {
$song = new Song($song_id);
$song->format();