mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-03 17:59:21 +02:00
Default tag cloud browsing by Artist
This commit is contained in:
parent
7fc69cb05f
commit
289bc3dfb0
2 changed files with 3 additions and 3 deletions
|
@ -83,7 +83,7 @@ switch ($_REQUEST['action']) {
|
||||||
//FIXME: This whole thing is ugly, even though it works.
|
//FIXME: This whole thing is ugly, even though it works.
|
||||||
$browse->set_sort('count','ASC');
|
$browse->set_sort('count','ASC');
|
||||||
// This one's a doozy
|
// This one's a doozy
|
||||||
$browse_type = isset($_REQUEST['type']) ? $_REQUEST['type'] : 'song';
|
$browse_type = isset($_REQUEST['type']) ? $_REQUEST['type'] : 'artist';
|
||||||
$browse->set_simple_browse(false);
|
$browse->set_simple_browse(false);
|
||||||
$browse->save_objects(Tag::get_tags($browse_type, 0, 'name')); // Should add a pager?
|
$browse->save_objects(Tag::get_tags($browse_type, 0, 'name')); // Should add a pager?
|
||||||
$object_ids = $browse->get_saved();
|
$object_ids = $browse->get_saved();
|
||||||
|
|
|
@ -21,9 +21,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$tag_types = array(
|
$tag_types = array(
|
||||||
'song' => T_('Song'),
|
|
||||||
'album' => T_('Album'),
|
|
||||||
'artist' => T_('Artist'),
|
'artist' => T_('Artist'),
|
||||||
|
'album' => T_('Album'),
|
||||||
|
'song' => T_('Song'),
|
||||||
'video' => T_('Video'),
|
'video' => T_('Video'),
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue