• Hello!

    I want to organize a search in the database, without the ability to view the entire list.

    For now, search here:
    https://kennellounge.ru/bs/
    Code:
    [pdb_search target_page="4204" target_instance="1" search_fields="Номер_карты"]
    Available values ​​for search: 002 and 0001

    The search works correctly and redirects to the page https://kennellounge.ru/base/
    It has only one shortcode:
    [pdb_list]

    Moreover, if you go to the page https://kennellounge.ru/base/ you can see all the records from the database at once.

    How not to show all entries? You only need a search

    • This topic was modified 5 years, 4 months ago by zzzt.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter zzzt

    (@zzzt)

    I’ll try to explain my idea:
    Our database will contain information about discount cards. The client will be able to see the number of points by the card number or his phone number. At the same time, none of the users should see the entire list of cards and bonuses

    Plugin Author Roland Barker

    (@xnau)

    If you want to prevent showing the list until a search is performed, you can use the “suppress” attribute in the list shortcode…for example:

    [pdb_list suppress=true]

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Search Only’ is closed to new replies.