From 9eb94d425b9aa925fc9ea416f467fc3b8562e9f3 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 5 Mar 2011 14:57:49 -0700 Subject: [PATCH] Content server: Fix regression that caused various emtadata to be missing in the book details view. Fixes #8929 (Improve Content Server usability) --- src/calibre/library/server/browse.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/calibre/library/server/browse.py b/src/calibre/library/server/browse.py index 585c1255a4..97bfc30f14 100644 --- a/src/calibre/library/server/browse.py +++ b/src/calibre/library/server/browse.py @@ -666,15 +666,13 @@ class BrowseServer(object): if add_category_links: added_key = False fm = mi.metadata_for_field(key) - if val and fm and fm['is_category'] and \ + if val and fm and fm['is_category'] and not fm['is_csp'] and\ key != 'formats' and fm['datatype'] not in ['rating']: categories = mi.get(key) if isinstance(categories, basestring): categories = [categories] dbtags = [] for category in categories: - if category not in ccache: - continue dbtag = None for tag in ccache[key]: if tag.name == category: