Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. Phonebook search takes very long time

Phonebook search takes very long time

Scheduled Pinned Locked Moved Support
3 Posts 2 Posters 36 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P
    P
    psubiaco
    wrote on last edited by
    #1

    Hi.
    FOP2 2.30.02 with 1770 records on visual_phonebook.
    The search/compose field on the top middle part works perfectly, because extracts data from visual_phonebook by a query.
    Clicking on Contacts, the panel takes few seconds to open, the first time, and this is ok because it read all records from the visual_phonebook table and generate the html list structure.
    The problem is that, when I press 1 char on the phonebook search field, the browser get stuck for 20s or more (CPU=100%), before showing the result.
    Pressing a 2nd char into the phonebook search field, things goes a little better, and start working really well when the search field contains 3 or more chars.
    I suggest to change the javascript that filter the phonebook informations, to start filtering only when 3 or more chars are pressed.
    If you can send me a patch, I'm really happy to test it, because phonebook search is now useless.
    Obvious, if I check with only 100records on visual_phonebook table, it works like a charm.
    Thanks a lot. Paolo

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #2

      Thanks Paolo for the feedback, I will see if I can improve the client side filtering routines and update it on a future release.
      Best regards,

      1 Reply Last reply
      0
      • N
        N
        nicolas
        wrote on last edited by
        #3

        I have sent you some files via email for you to test, let me know if its faster.

        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        Powered by NodeBB Contributors
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups