From a352cb965dcb2ad15a823467192113b0f3a34879 Mon Sep 17 00:00:00 2001 From: dipsol Date: Thu, 15 Sep 2011 10:08:18 +0200 Subject: FS#189, added the catalog name to the browse instead of the id. --- lib/class/browse.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lib/class/browse.class.php') 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(); -- cgit