@@ -731,6 +731,7 @@ public static function formatMessageList($mod) {
731731 if (!$ show_icons ) {
732732 $ icon = false ;
733733 }
734+ $ sorting_date = $ item ['dc:date ' ] ?? $ item ['pubdate ' ] ?? '' ;
734735 $ row_style .= ' ' .str_replace (' ' , '_ ' , $ item ['server_name ' ]);
735736 if ($ style == 'news ' ) {
736737 $ res [$ id ] = message_list_row (array (
@@ -740,6 +741,7 @@ public static function formatMessageList($mod) {
740741 array ('safe_output_callback ' , 'source ' , $ item ['server_name ' ]),
741742 array ('safe_output_callback ' , 'from ' .$ nofrom , $ from ),
742743 array ('date_callback ' , $ date , $ timestamp ),
744+ array ('dates_holders_callback ' , $ sorting_date , $ sorting_date ),
743745 ),
744746 $ id ,
745747 $ style ,
@@ -754,7 +756,8 @@ public static function formatMessageList($mod) {
754756 array ('safe_output_callback ' , 'from ' .$ nofrom , $ from ),
755757 array ('subject_callback ' , strip_tags ($ item ['title ' ]), $ url , $ flags ),
756758 array ('date_callback ' , $ date , $ timestamp ),
757- array ('icon_callback ' , $ flags )
759+ array ('icon_callback ' , $ flags ),
760+ array ('dates_holders_callback ' , $ sorting_date , $ sorting_date ),
758761 ),
759762 $ id ,
760763 $ style ,
0 commit comments