Basic search field behaviour

Ticket for: Combo Blocks
0
Basic search field behaviour 1
Anonymous
Jun 09, 2021 05:08 PM 1 Answers
Member Since Jan 1970
Unsolved Solved Mark as Solved Mark as Unsolved
Subscribed Subscribe Not subscribe
Flag(0)

Hi,

Using postgrid, I have an issue with the search field:
If I enter some characters in the search field, it is filtering correctly. But if I delete all characters, it still shows the filtered view instead of resetting to the full view of posts. I have to press enter to get back all elements loaded. Is there a way to get the reset applied wihtout having to press enter?

Also, I was wondering if we could do some custom overlay on each post. So let's say each post showing up is a product, but I want to add a "Coming soon" or "Out of stock" logo on some of them. Is there a way to do that?

Thanks.

Kind regards,
Guillaume

0 Subscribers
Submit Answer
Please login to submit answer.
1 Answers
Sort By:
Best Answer
0
Basic search field behaviour 2
PickPlugins
Jun 10, 2021
Flag(0)

Welcome to our forum.

I just fix empty keyword issue, it will reset result when empty keyword found, could you please download latest version I am working on github, please reinstall free version and let me know the result.

https://github.com/pickplugins/post-grid

before testing please clear browser cache.

Basic search field behaviour 3
Kevin Johnson
- Jun 23, 2021 03:51 AM
Flag (0)
0

Unfortunately the update for empty search field doesn’t work properly.

I have a filterable grid with Query Post > Posts per page = -1
(to show all)

and then under Filterable > Number of items per page = 9
(so that the dynamic filters show ALL results for the filter chosen)

This works fine, and the search works fine initially, but when you empty the search field it then shows ALL 45 pages of results, not the filtered 9.

I made a video showing the issue here: https://www.youtube.com/watch?v=zD-Fmy_Pt7I

Basic search field behaviour 4
guillaume.vachey
- Jun 15, 2021 04:06 PM
Flag (0)
0

Thanks, that works!
Do you know if there is also a possibility to change the minimum number of characters before search is activated?
It seems like we can’t search if we enter less than 4 characters by default.

Basic search field behaviour 5
PickPlugins
- Jun 10, 2021 08:58 AM
Flag (0)
0

Yes, you could add custom HTML layer to any elements via action hook and filter hook available, please check this documentation

https://pickplugins.com/documentation/post-grid/action-hooks/post_grid_layout_element_id/

Sign in to Reply
Replying as Submit