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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Profile "Back to listings" links to unfilled search form not search results
Pages: [1]

Author Topic: Profile "Back to listings" links to unfilled search form not search results  (Read 1360 times)

davej

  • Ask me questions
  • ****
  • Posts: 404
  • Karma: 21
Profile "Back to listings" links to unfilled search form not search results
August 10, 2007, 04:50:31 am
In CiviCRM 1.5, after doing a profile search and clicking through from the result listing to the profile detail page, the "Back to listings" link on the detail page took one back to the result listing page. (Link target "/civicrm/profile"). This was intuitive and good.

In 1.7 and 1.8, the "Back to listings" link on the detail page takes one to an unfilled search form. (Link target "civicrm/profile?reset=1&gid=N"). This is less intuitive, inconsistent with the link text and less user-friendly: why should users have to re-enter their search criteria to return to the results that they had just been looking at?

I can work around this by changing the link target back to "/civicrm/profile" and I'm pleased to see that CiviCRM now has good options for customising profile templates - good work. But the current default behaviour strikes me as clearly worse than what happened in 1.5, so this is a vote for restoring the former behaviour unless there's a good reason not to.

Cheers,

Dave J

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Profile "Back to listings" links to unfilled search form not search results
August 10, 2007, 02:36:11 pm
Dave - I think this was an "unintended consequence" of another change. I think the Link target should be "civicrm/profile?force=1&gid=N" - which safely preserves the profile ID and "forces" the search criteria in the session to be reloaded and run.

I'll investigate and post a fix unless I discover some reason this change was made (which i think is doubtful).
Protect your investment in CiviCRM by  becoming a Member!

davej

  • Ask me questions
  • ****
  • Posts: 404
  • Karma: 21
Re: Profile "Back to listings" links to unfilled search form not search results
August 13, 2007, 04:45:48 am
Thanks Dave G, I can confirm that /civicrm/profile?force=1&gid=N goes to the desired page.

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Profile "Back to listings" links to unfilled search form not search results
August 13, 2007, 02:48:30 pm
Fix for this is committed for 1.8:
http://issues.civicrm.org/jira/browse/CRM-2195

r10873 - changes made in  CRM/Profile/Page/View.php
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Profile "Back to listings" links to unfilled search form not search results

This forum was archived on 2017-11-26.