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

Display "(empty value)" for empty values on Solr's search page

Details

    • Improvement
    • Resolution: Fixed
    • Minor
    • 5.1
    • 5.1-milestone-1
    • Search - Solr
    • Trivial

    Description

      Currently there are checkbox filters with nothing written to their right (see the attached screenshot). It would be better if to the right of those fields there'd be a message like "(empty value)" so the user knows what that checkbox does.

      Attachments

        Issue Links

          Activity

            [XWIKI-9231] Display "(empty value)" for empty values on Solr's search page
            vmassol Vincent Massol added a comment -

            Looks great, thanks Marius

            vmassol Vincent Massol added a comment - Looks great, thanks Marius

            All facets are handled in the same way so the solution must be generic, not specific to the language/locale facet. I could compute a translation key based on the facet name for empty value.

            mflorea Marius Dumitru Florea added a comment - All facets are handled in the same way so the solution must be generic, not specific to the language/locale facet. I could compute a translation key based on the facet name for empty value.
            vmassol Vincent Massol added a comment -

            "empty value" is a very bad label IMO. It's the default language so "Default Language" would be better.

            vmassol Vincent Massol added a comment - "empty value" is a very bad label IMO. It's the default language so "Default Language" would be better.

            People

              mflorea Marius Dumitru Florea
              msmeria Manuel Smeria
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: