CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Click-sort table headers broken(?) in tabs for Events, Contributions, Pledges
Pages: [1]

Author Topic: Click-sort table headers broken(?) in tabs for Events, Contributions, Pledges  (Read 643 times)

TwoMice

  • I post frequently
  • ***
  • Posts: 214
  • Karma: 16
    • Emphanos
  • CiviCRM version: Always current stable version
  • CMS version: Drupal 7
Click-sort table headers broken(?) in tabs for Events, Contributions, Pledges
January 22, 2013, 08:44:06 am
Hi,

I'm looking at 4.2.7 and see that click-sort table headers behave strangely (to my sensibilities) in the Contact tabs for Contributions, Pledges, and Events. On the demo site, you can see this behavior at a page like this one: http://drupal.demo.civicrm.org/civicrm/contact/view?reset=1&cid=102 , or in any contact that has content in these tabs.

On other tabs, such as Activities, Relationships, and Groups, the table headers use DataTables.js to drive on-page sorting of table rows.  But on the Contributions, Pledges, and Events tabs, the table headers are links pointing to a separate URL. When the page load completes, the data is sorted properly, but the Contact navigation tabs and contact-level function buttons ("Actions," "Edit," and "Delete Contact,") are missing.

So, is this behavior by design for a specific reason? Could there be an argument for changing this behavior to the on-page table sorting found on the other tabs?

Thanks,
Allen
Please consider contributing to help improve CiviCRM with the Make it Happen! initiative.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Developer Discussion (Moderator: Donald Lobo) »
  • Click-sort table headers broken(?) in tabs for Events, Contributions, Pledges

This forum was archived on 2017-11-26.