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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 3.0 Release Testing »
  • profile order is not stored properly
Pages: [1]

Author Topic: profile order is not stored properly  (Read 1310 times)

JoeMurray

  • Administrator
  • Ask me questions
  • *****
  • Posts: 578
  • Karma: 24
    • JMA Consulting
  • CiviCRM version: 4.4 and 4.5 (as of Nov 2014)
  • CMS version: Drupal, WordPress, Joomla
  • MySQL version: MySQL 5.5, 5.6, MariaDB 10.0 (as of Nov 2014)
profile order is not stored properly
August 11, 2009, 09:01:46 am
Changing order on civicrm/admin/uf/group?action=update&id=10&context=group and then saving then going back into setting does not reliably change the order value. Seems that negative numbers get translated into 1, higher numbers get changed as a result of reordering. Isn't always possible to change the way one wants. Tested on sandbox.
Co-author of Using CiviCRM https://www.packtpub.com/using-civicrm/book

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: profile order is not stored properly
August 11, 2009, 12:29:01 pm
It looks like a bug, can you file an issue with JIRA

Thanks
-Yashodha
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

JoeMurray

  • Administrator
  • Ask me questions
  • *****
  • Posts: 578
  • Karma: 24
    • JMA Consulting
  • CiviCRM version: 4.4 and 4.5 (as of Nov 2014)
  • CMS version: Drupal, WordPress, Joomla
  • MySQL version: MySQL 5.5, 5.6, MariaDB 10.0 (as of Nov 2014)
Re: profile order is not stored properly
August 11, 2009, 12:41:02 pm
CRM-4891
Co-author of Using CiviCRM https://www.packtpub.com/using-civicrm/book

Yashodha Chaku

  • Forum Godess / God
  • Ask me questions
  • *****
  • Posts: 755
  • Karma: 57
    • CiviCRM
Re: profile order is not stored properly
August 13, 2009, 06:00:05 am
The behaviour seems fine. When you change the order/weight of any group(row in general), it updates the weight fields of other groups accordingly(based on the new weight that you put in & the one the in the database) ensuring the weights are contiguously ordered.

So, if you enter the weight as :

A) any negative number : interpreted as lowest number (sets as 1), it adjusts the rest of the rows accordingly.
B) any higher number : interpreted as maximum weight+1
C) any other number (in between) : remains the same and the rest of the weights are adjusted accordingly

-Yashodha
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 3.0 Release Testing »
  • profile order is not stored properly

This forum was archived on 2017-11-26.