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

The parameter max-result is ignored in a static filter RSS

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3
    • 3.4.6, 3.5.4, 3.7
    • None
    • None

    Description

          <feature name="ametys.siteweb.ametys.news.rss">
         		<extensions>
          	 	<extension point="org.ametys.cms.filter.ContentFilterExtensionPoint"
          	 			   class="org.ametys.web.filter.StaticWebContentFilter"
          	 			   id="org.ametys.web.news.RSS2">
          	 		<title i18n="false">Les actualités d'Ametys.org</title>
          	 		<description i18n="false">Le flux RSS des actualités</description>
          	 		<content-types>
      			     <!--Content type news -->
      			     <type id="org.ametys.plugins.news.Content.news"/>
      			</content-types>
      			<view>abstract</view>
      			<context type="current-site"/>
      			***<max-result>10</max-result>***
                      <sort-information>
                           <sort metadataId="start-date" ascending="false"/>
                           <sort metadataId="title" ascending="false"/>
                      </sort-information>
          	 	</extension>
          	 </extensions>    
          </feature>
      

      Attachments

        Issue Links

          Activity

            People

              laurence Laurence Aumeunier
              lperier Laurence Perier
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: