Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-868

Article Class should only display categories in Blog.Categories page

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 1.1 M2
    • 1.0 B4
    • {Unused} Wiki features
    • 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'

      Attachments

        Activity

          People

            sdumitriu Sergiu Dumitriu
            kaaloo Luis Arias
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: