• For some reason, the search results are duplicated.

    Our search page:

    https://symondsproject.org/lost-library-zotero-search/

    If you search for “philosophy” you’ll see what I mean — halfway down the results, the set of items is duplicated.

    How to fix?!

    Our shortcode:

    [zotpressLib nickname="LostLibrary" type="searchbar" searchby="items,tags" sortby="author" order="asc"]

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter mcyzyk

    (@mcyzyk)

    Bump!

    Looking in Firefox Inspector, it seems like the search results Object is actually being pulled/returned FOUR times. (“zp: autocomplete response?” below)

    zp: autocomplete search starts zotpress.lib.searchbar.min.js:1:2650
    zp: show loading for new query zotpress.lib.searchbar.min.js:1:3058
    zp: calling zp_get_items with update check? always zotpress.lib.searchbar.min.js:1:2854
    zp: is an update needed? true zotpress.lib.searchbar.min.js:1:2922
    zp: autocomplete response?
    Object { 0: {…}, 1: {…}, 2: {…}, 3: {…}, 4: {…}, 5: {…}, 6: {…}, 7: {…}, 8: {…}, 9: {…}, … }
    zotpress.lib.searchbar.min.js:1:3483
    zp: request next: 0 request last: 0 zotpress.lib.searchbar.min.js:1:4762
    zp: now for the update … zotpress.lib.searchbar.min.js:1:5146
    zp: autocomplete search starts zotpress.lib.searchbar.min.js:1:2650
    zp: autocomplete response?
    Object { 0: {…}, 1: {…}, 2: {…}, 3: {…}, 4: {…}, 5: {…}, 6: {…}, 7: {…}, 8: {…}, 9: {…}, … }
    zotpress.lib.searchbar.min.js:1:3483
    zp: request next: 0 request last: 0 zotpress.lib.searchbar.min.js:1:4762
    zp: calling zp_get_items with update check? always zotpress.lib.searchbar.min.js:1:2854
    zp: is an update needed? true zotpress.lib.searchbar.min.js:1:2922
    zp: autocomplete search starts zotpress.lib.searchbar.min.js:1:2650
    zp: show loading for new query zotpress.lib.searchbar.min.js:1:3058
    zp: calling zp_get_items with update check? always zotpress.lib.searchbar.min.js:1:2854
    zp: is an update needed? true zotpress.lib.searchbar.min.js:1:2922
    zp: autocomplete response?
    Object { 0: {…}, 1: {…}, 2: {…}, 3: {…}, 4: {…}, 5: {…}, 6: {…}, 7: {…} }
    zotpress.lib.searchbar.min.js:1:3483
    zp: request next: 0 request last: 0 zotpress.lib.searchbar.min.js:1:4762
    zp: now for the update … zotpress.lib.searchbar.min.js:1:5146
    zp: autocomplete search starts zotpress.lib.searchbar.min.js:1:2650
    zp: calling zp_get_items with update check? always zotpress.lib.searchbar.min.js:1:2854
    zp: is an update needed? false zotpress.lib.searchbar.min.js:1:2922
    zp: autocomplete response?
    Object { 0: {…}, 1: {…}, 2: {…}, 3: {…}, 4: {…}, 5: {…}, 6: {…}, 7: {…} }
    zotpress.lib.searchbar.min.js:1:3483

    • This reply was modified 6 days, 12 hours ago by mcyzyk.
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.