Details
-
Improvement
-
Resolution: Fixed
-
Minor
-
1.0 B4
-
None
-
patch
-
Description
This hiberrnate query can replace the default one in the XWiki.ArticleClass class, category field, to limit looking for Blog Categories to the Blog.Categories page where there is a user interface for editing them and not picking up any category objects that happen to be attached to other pages.
select prop.value from BaseObject as obj, StringProperty as prop, XWikiDocument as doc where obj.className='Blog.Categories' and obj.name = doc.fullName and doc.fullName = 'Blog.Categories' and prop.id.id = obj.id and prop.id.name='name'