Uploaded image for project: 'Repository'
  1. Repository
  2. REPOSITORY-118

JCR search on composite metadata does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.1.1
    • None
    • None
    • None

      Using Ametys repository API to search on resource :

      new StringWildcardExpression("dc/dc_subject", keywords, false)
      

      The executed query is the following :

      //element (*, ametys:resource)[jcr:like(@ametys:dc/dc_subject, '%ipsum%')]

      instead of

      //element (*, ametys:resource)[jcr:like(ametys:dc/@ametys:dc_subject, '%ipsum%')]

            Unassigned Unassigned
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: