← Back to team overview

mahara-contributors team mailing list archive

[Bug 2004524] [NEW] Comment like blocks do not allow for chosing the sort order

 

Public bug reported:

The comments, peerassessment, annotations, and checkpoint blocks list
feedback and the sort order of the feedback is controlled by an
institution setting "Comment sort order".

But it would be good if the block itself could have a sort config
setting to override the institution value because we might want one type
to be ordered a different way.

Also I'd like the use of constants for 'earliest' and 'latest' etc like
so

// Comments sort order
define('LATEST', 'latest');
define('EARLIEST', 'earliest');
define('ASCENDING', 'ASC');
define('DESCENDING', 'DESC');
define('LAST', 'last');

** Affects: mahara
     Importance: Wishlist
         Status: Confirmed

** Changed in: mahara
       Status: New => Confirmed

** Changed in: mahara
   Importance: Undecided => Wishlist

** Changed in: mahara
    Milestone: None => 23.04.0

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/2004524

Title:
  Comment like blocks do not allow for chosing the sort order

Status in Mahara:
  Confirmed

Bug description:
  The comments, peerassessment, annotations, and checkpoint blocks list
  feedback and the sort order of the feedback is controlled by an
  institution setting "Comment sort order".

  But it would be good if the block itself could have a sort config
  setting to override the institution value because we might want one
  type to be ordered a different way.

  Also I'd like the use of constants for 'earliest' and 'latest' etc
  like so

  // Comments sort order
  define('LATEST', 'latest');
  define('EARLIEST', 'earliest');
  define('ASCENDING', 'ASC');
  define('DESCENDING', 'DESC');
  define('LAST', 'last');

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/2004524/+subscriptions



Follow ups