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) »
  • Infinite scrolling of search results?
Pages: [1]

Author Topic: Infinite scrolling of search results?  (Read 299 times)

JonGold

  • Ask me questions
  • ****
  • Posts: 638
  • Karma: 81
    • Palante Technology
  • CiviCRM version: 4.1 to the latest
  • CMS version: Drupal 6-7, Wordpress 4.0+
  • PHP version: PHP 5.3-5.5
Infinite scrolling of search results?
October 29, 2014, 01:36:30 pm
In the CiviCRM blog post "CiviCRM 4.5 Sneak Peek for Developers", it mentioned that infinite scrolling of search results on auto-complete was coming.  I don't think it exists.  Was this cut?  Is it going to appear at some point?
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Infinite scrolling of search results?
October 29, 2014, 01:38:53 pm
It exists everywhere except for in the CiviCRM menubar, which doesn't use select2.
Try asking your question on the new CiviCRM help site.

JonGold

  • Ask me questions
  • ****
  • Posts: 638
  • Karma: 81
    • Palante Technology
  • CiviCRM version: 4.1 to the latest
  • CMS version: Drupal 6-7, Wordpress 4.0+
  • PHP version: PHP 5.3-5.5
Re: Infinite scrolling of search results?
October 29, 2014, 01:57:45 pm
Hmm, OK - I did some more testing.  Contact Reference fields seem not to be using the same widget as, for instance, the "With Contact" field on an Activity.  Also, the "To" widget on a "Send Email" activity is Select2-enabled, but doesn't use the same widget.  In addition to the infinite scrolling not being enabled, the contact icon doesn't appear.

Is this a small enough fix that if I submitted a patch for a point release, it'd be accepted?

Jon
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

Coleman Watts

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 2346
  • Karma: 183
  • CiviCRM version: The Bleeding Edge
  • CMS version: Various
Re: Infinite scrolling of search results?
October 29, 2014, 02:13:09 pm
Not just "for instance", it's literally just that field that's weird. I tried hard to migrate that one to EntityRef and it's a fundamental problem with the civicrm API that it doesn't support searching on joins - in this case the correct api would be "email" but the search field is "contact.sort_name" - there's no way I know of to make it work.
Try asking your question on the new CiviCRM help site.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Infinite scrolling of search results?

This forum was archived on 2017-11-26.