2

Joomla 3.9.2
CiviCRM 5.12.0

On the Manage Case page, the activities are now displayed in a clever order (overdue first, then the rest in newest-to-oldest order). I can imagine that this makes sense in some situations, but it doesn't in ours, so I need to tweak the code to have a simple ASCENDING order (oldest last). Previously, I had tweaked civicrm/templates/CRM/Case/Form/ActivityTab.tpl to replace
class="nestedActivitySelector crm-ajax-table" data-page-length="10" with
class="nestedActivitySelector crm-ajax-table" data-page-length="50" data-order='[[0,"asc"]]'>
(see also this post), but this tweak no longer has any effect.

Can some kind developer please point to the part of the code which I need to change? Thank you.

  • That tweak still seems to work when I apply it. Some other customization conflicting maybe? – Demerit Apr 8 at 14:45
  • 1
    Thanks very much for checking it. Turns out the problem is I'm a numpty. I was tweaking one installation and looking for the effect in a different one. What a noob. – Jern Apr 8 at 19:35
  • Ha ha. I guess you can answer the question and mark it answered, just so it doesn't sit unanswered. – Demerit Apr 8 at 20:34
2

As mentioned in the comments, it turns out the problem was one of numptitude, not a problem with CiviCRM. In fact the tweak works fine, as Demerit kindly confirmed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.