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) »
  • Order Labels By Postal Code instead of Alphabetical
Pages: [1]

Author Topic: Order Labels By Postal Code instead of Alphabetical  (Read 1163 times)

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Order Labels By Postal Code instead of Alphabetical
July 09, 2010, 12:51:20 pm
How much effort would it take to add a 'Sort By Postal Code Instead of Alphabetical Name' option checkbox on the Print Mailing Labels screen?

Try CiviTeacher: the online video tutorial CiviCRM learning library.

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Order Labels By Postal Code instead of Alphabetical
July 09, 2010, 01:09:27 pm
Odd, my memory was that any Sort that you do on the Results screen will pass through to the labels. BUt I see that isn't happening. Maybe some of the new features for labels re 'shared addresses' etc has caused this to go - or maybe it is just Failing Memory Syndrome on my part.
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: Order Labels By Postal Code instead of Alphabetical
July 09, 2010, 01:23:54 pm
Agreed Peter, my hope was that by sorting the results before printing labels, the sort would persist, but this is not the case.  This is the first time I've tried this, so I don't have any memory to fall back on.  ;)
Try CiviTeacher: the online video tutorial CiviCRM learning library.

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: Order Labels By Postal Code instead of Alphabetical
July 09, 2010, 01:34:00 pm
So Failing Memory System + Search = http://forum.civicrm.org/index.php/topic,12238.0.html (Dave Greenberg)
Quote
I just did this on the public Drupal / Civi 3.1 demo (link above):

1. Search -> Find Contacts, just clicked Search to get all hundred plus contacts in demo DB
2. Clicked Postal Code column top of search results to sort by Postal code
3. Selected 'all' on page 1
4. action -> Mailing Labels

--- pdf has addresses sorted ascending by postal code (first 20-ish don't have addresses, then remaining do sort)

One potential issue is that you can't do more than one (browser) page of search results at a time - so ultimately mail merge might be your best option.

But it didn't work for me just now on Demo when I sorted by postcode then selected all on Page 1.
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: Order Labels By Postal Code instead of Alphabetical
July 09, 2010, 03:04:31 pm
Interesting.  A regression bug?  ...Or a deliberate change to disable this functionality?  Time to file a issue in the tracker?
Try CiviTeacher: the online video tutorial CiviCRM learning library.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Order Labels By Postal Code instead of Alphabetical
July 09, 2010, 03:39:34 pm
Doesn't work for me on 3.2 either - in fact can't deduce what sort pattern it's using when I sort the search results by postal code and use the Mailing Labels task :-( Would be great if you can debug this a bit and file an issue ideally w/ a patch.
Protect your investment in CiviCRM by  becoming a Member!

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: Order Labels By Postal Code instead of Alphabetical
July 09, 2010, 08:21:29 pm
One thing I'll note is that PDF isalphabetical by last name regardless of what the user has chosen to sort by in the result page.  This is consistent on a group of 2000+ results on my 3.1.5 site.

By the way, I have asked others in the past but have not gotten an answer yet.  What is the procedure or format for submitting a "patch"?  Where are the docs on the proper way to submit a patch?  To whom or what is the patch submitted?  I have never submitted a patch.
Try CiviTeacher: the online video tutorial CiviCRM learning library.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Order Labels By Postal Code instead of Alphabetical
July 12, 2010, 12:39:59 pm
(replied to question about patch on your other recent post - let me know if you need more clarification :-) )
http://forum.civicrm.org/index.php/topic,14520.msg62190.html#msg62190

There's also some info here:
http://wiki.civicrm.org/confluence/display/CRM/Recommended+Steps+for+Developing+and+Contributing+to+CiviCRM+Core+Codebase
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Order Labels By Postal Code instead of Alphabetical

This forum was archived on 2017-11-26.