Uploaded image for project: 'Offre de formation'
  1. Offre de formation
  2. ODF-3363

Programs cannot be retreived in search engine if a context is set

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.7.0
    • 4.6.0
    • ODF-web
    • None
    • 4.7.0 RC2

      If you need to find Programs and Articles in a site from search engine service, you will need to set a Context in Context settings.

      If you do that, Programs will not be displayed in search results.

      It works correctly for user contents because on UserContentReturnable we have this and not on ProgramContentReturnable

      @Override
          protected Function<Query, Query> siteQueryJoiner()
          {
              // User contents are created through plugin content-io, and are "off-site". 
              return null;
          } 

        1. screenshot-1.png
          26 kB
          David Cartier-Michaud
        2. screenshot-2.png
          59 kB
          David Cartier-Michaud
        3. screenshot-3.png
          24 kB
          David Cartier-Michaud

            laurence Laurence Aumeunier
            dcartier David Cartier-Michaud
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: