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) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Price Set ordering
Pages: [1]

Author Topic: Price Set ordering  (Read 1252 times)

dsdart

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 3
  • CiviCRM version: 4.4
  • CMS version: Drupal 7.25
  • MySQL version: 5.1.41
  • PHP version: 5.3.1
Price Set ordering
January 18, 2012, 03:10:15 pm
There is a problem with reordering price sets.  I've seen a couple of old posts on this but I just recreated it in the sandbox.  I added a new price set, Member Class, and added 3 options.  Then I saved it and added another option.  The new option was given an Order of 1 and appeared second in the list.

http://sandbox.drupal6.civicrm.org/civicrm/admin/price/field/option?reset=1&action=update&oid=7&fid=4&sid=2

Hopefully you can fix this soon??  As always, thanks for your hard work.
« Last Edit: January 18, 2012, 07:16:13 pm by dsdart »

dsdart

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 3
  • CiviCRM version: 4.4
  • CMS version: Drupal 7.25
  • MySQL version: 5.1.41
  • PHP version: 5.3.1
Re: Price Set ordering
January 18, 2012, 04:16:54 pm
I see another issue - it looks like the civicrm_price_field_value -> name is getting cut off so I am getting several rows with the same name, even though the label is different in the table. 


dsdart

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 3
  • CiviCRM version: 4.4
  • CMS version: Drupal 7.25
  • MySQL version: 5.1.41
  • PHP version: 5.3.1
Re: Price Set ordering
January 18, 2012, 04:30:29 pm
Playing more with the price set I created in the sandbox.  Sometimes the item gets moved to the correct place, sometimes to the wrong place and sometimes nothing gets moved.  Moving the top one to the bottom or the bottom one to the top works okay.

Recreated this sequence:
Moving the fourth one to the top, then moving the new fourth one to the top will swap the old fourth one and the new fourth one, instead of moving the old one to second, the second to third and the third to fourth.

And this sequence:
Move the bottom one to the top.  Swap first and second ones. Then swap second and third ones.  The one you are moving jumps down to the bottom instead of third.

Hopes this helps track the issue down...

dsdart

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 3
  • CiviCRM version: 4.4
  • CMS version: Drupal 7.25
  • MySQL version: 5.1.41
  • PHP version: 5.3.1
Re: Price Set ordering
January 24, 2012, 02:07:13 pm
Is anybody looking at fixing this in the near future?

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Price Set ordering
January 24, 2012, 02:20:24 pm

If you can investigate and provide a patch for the below issue that will help get it fixed in the 4.1 release. Please file an issue in the issue tracker for this issue

Should be a good starting project for someone

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

dsdart

  • I post occasionally
  • **
  • Posts: 85
  • Karma: 3
  • CiviCRM version: 4.4
  • CMS version: Drupal 7.25
  • MySQL version: 5.1.41
  • PHP version: 5.3.1
Re: Price Set ordering
January 27, 2012, 11:33:02 am
Created CRM-9556 and added a patch

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Price Set ordering

This forum was archived on 2017-11-26.