always show comment in the batch moderation view in reverse chronological order, disallow sorting on the table.
svn path=/plone.app.discussion/trunk/; revision=27788
This commit is contained in:
		
							parent
							
								
									dc78965931
								
							
						
					
					
						commit
						d70d872f95
					
				@ -86,11 +86,11 @@
 | 
			
		||||
                        </tr>
 | 
			
		||||
                        <tr>
 | 
			
		||||
                            <th class="nosort"><input name="check_all" type="checkbox" value="0" /></th>
 | 
			
		||||
                            <th i18n:translate="heading_author">Commenter</th>
 | 
			
		||||
                            <th i18n:translate="heading_date">Date</th>
 | 
			
		||||
                            <th i18n:translate="heading_context">In Response To</th>
 | 
			
		||||
                            <th i18n:translate="heading_subject">Subject</th>
 | 
			
		||||
                            <th i18n:translate="heading_comment">Comment</th>
 | 
			
		||||
                            <th class="nosort" i18n:translate="heading_author">Commenter</th>
 | 
			
		||||
                            <th class="nosort" i18n:translate="heading_date">Date</th>
 | 
			
		||||
                            <th class="nosort" i18n:translate="heading_context">In Response To</th>
 | 
			
		||||
                            <th class="nosort" i18n:translate="heading_subject">Subject</th>
 | 
			
		||||
                            <th class="nosort" i18n:translate="heading_comment">Comment</th>
 | 
			
		||||
                            <th class="nosort" i18n:translate="heading_action">Action</th>
 | 
			
		||||
                        </tr>
 | 
			
		||||
                    </thead>
 | 
			
		||||
 | 
			
		||||
@ -46,6 +46,7 @@ class View(BrowserView):
 | 
			
		||||
        return catalog(
 | 
			
		||||
                portal_type='Discussion Item',
 | 
			
		||||
                sort_on='created',
 | 
			
		||||
                sort_order='reverse',
 | 
			
		||||
                sort_limit=self.limit,
 | 
			
		||||
            )
 | 
			
		||||
 | 
			
		||||
@ -61,6 +62,7 @@ class View(BrowserView):
 | 
			
		||||
                portal_type='Discussion Item',
 | 
			
		||||
                review_state=self.state,
 | 
			
		||||
                sort_on='created',
 | 
			
		||||
                sort_order='reverse',
 | 
			
		||||
                sort_limit=self.limit,
 | 
			
		||||
            )
 | 
			
		||||
 | 
			
		||||
@ -77,6 +79,7 @@ class View(BrowserView):
 | 
			
		||||
                portal_type='Discussion Item',
 | 
			
		||||
                review_state='published',
 | 
			
		||||
                sort_on='created',
 | 
			
		||||
                sort_order='reverse',
 | 
			
		||||
                sort_limit=self.limit,
 | 
			
		||||
            )
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user