Forums › Forums › Search & Filter Pro › "All Categories" – Pagination links wrong
Tagged: url
- This topic has 10 replies, 2 voices, and was last updated 8 years, 8 months ago by Anonymous.
-
Anonymous(Private) February 26, 2016 at 2:11 pm #38053
Using PRO 2.1.2
Hi when I land on my page I see “All Categories” on the dropdown.
When I click next page the URL is wrong it includes “All Categories” in the URL which is wrong as obviously that isn’t a real category!
Is gives me:
MYPAGE/?_sft_case_study_cat=ALL%20CATEGORIES&sf_paged=2It should give (and this is the link that appears when I hover over the page 2 button)
MYPAGE/?sf_paged=2So somewhere between clicking the link and the pag eloading “_sft_case_study_cat=ALL%20CATEGORIES” gets added.
How can I fix this?
Thanks
Ross Moderator(Private) February 26, 2016 at 4:17 pm #38068Very Odd
If you inspect the categories field, and check teh value of the option with the label
All Categories
, what is the value?By default, whenever you have the default
All ....
on any field, the value is blank.It sounds like its possible that in your setup the value is not blank?
Thanks
Ross Moderator(Private) February 26, 2016 at 4:33 pm #38074Really really strange.
It soudned like you might be using a filter to modify the field, but that looks correct to me.
For some reason, when the form is submitted, the html content is being used, rather than the
val()
in jQuery.This is basically impossible so there must be something else going on.
I would perhaps suggest there is a JS conflict or something is modifying the behaviour somehow.
The HTML you pasted above, was this from “view source” or using an inspector like firebug?
If it was the former, can you try with firebug, so we can see if any JS has altered the fields after they have been displayed?
Thanks
Ross Moderator(Private) February 29, 2016 at 11:18 pm #38297To be honest greg I cannot imagine what would cause that, certainly not S&F directly, but probably there is a conflict somewhere.
I would disable all other plugins and test, and see if the issue still occurs.
What I think, because its a JS issue, is that its probably more likely a conflict with your theme – so I’d certainly trying switching that.
Apart from that, the only other thing it could be is that you are somehow incorrectly using the Input Object Filter and setting the value rather than the label:
Let me know if you get to test the above.
Thanks
-
AuthorPosts