Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-2338

Lang filter does not work

XMLWordPrintable

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

      I have added a filtre in a template (filter/default.xml).

      <filter id="home-actus" target="content">
      		<content-types>
      			<type id="org.ametys.plugins.news.Content.news"/>
      		</content-types>
      		<tags>
      			<tag key="HOME_ACTU"/>
      		</tags>
      		<view>abstract</view>
      		<context type="current-site" lang="current"/>
      		<max-result>10</max-result>
      		<sort-information>
      			<sort metadataId="start-date" ascending="true"/>
      		</sort-information>		
      	</filter>
      

      I call this filter in an english page, and I have french site content displayed.

            laurence Laurence Aumeunier
            jonathan Jonathan Wendlinger
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: