diff options
author | dipsol <martin@diphoorn.com> | 2011-09-15 10:08:18 +0200 |
---|---|---|
committer | dipsol <martin@diphoorn.com> | 2011-09-15 10:08:18 +0200 |
commit | a352cb965dcb2ad15a823467192113b0f3a34879 (patch) | |
tree | 78fb29b2d493e45ff958ba40e614c8cd5f6f781a | |
parent | c6b25468d60b061156cf92aabcb6f123c5155d1f (diff) | |
download | ampache-a352cb965dcb2ad15a823467192113b0f3a34879.tar.gz ampache-a352cb965dcb2ad15a823467192113b0f3a34879.tar.bz2 ampache-a352cb965dcb2ad15a823467192113b0f3a34879.zip |
FS#189, added the catalog name to the browse instead of the id.
-rw-r--r-- | lib/class/browse.class.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/class/browse.class.php b/lib/class/browse.class.php index 1c618d4e..83eb2d27 100644 --- a/lib/class/browse.class.php +++ b/lib/class/browse.class.php @@ -123,7 +123,9 @@ class Browse extends Query { elseif ($filter_value = $this->get_filter('starts_with')) { $match = ' (' . $filter_value . ')'; } elseif ($filter_value = $this->get_filter('catalog')) { - $match = '(' . $filter_value . ')'; + // Get the catalog title + $catalog = new Catalog($filter_value); + $match = ' (' . $catalog->name . ')'; } $type = $this->get_type(); |