Forum Replies Created
-
pridigitalParticipant3 years, 1 month ago in reply to: Bug when filtering taxonomy term as a non logged in user #35812
Are you using a custom taxonomy and a custom post type in the demo? I think the bug is happening in that scenario only.
pridigitalParticipant3 years, 2 months ago in reply to: Custom sorting facet values #35707Also, it would make sense to have an option to define the order. Here’s an example
2021 – Books
2022 – Books
2023 – Booksmight look better showing 2023 first 😉
pridigitalParticipant3 years, 3 months ago in reply to: Custom sorting fields doesn’t seem to work properly #35378I see the “Item number” in both taxonomies. Which is why I was trying to use the WPSOLR_Events::WPSOLR_FILTER_SORT_FIELDS filter.
pridigitalParticipant3 years, 3 months ago in reply to: Custom sorting fields doesn’t seem to work properly #35376Hi there 🙂 the field name is irrelevant. Those were just examples, but yeah. Let’s say then:
Tax 1
– Item Number (should be hidden)
– Date
Tax 2
– Item Number (should NOT be hidden)
– Price
– DatepridigitalParticipant3 years, 3 months ago in reply to: Custom sorting fields doesn’t seem to work properly #35362Yes, if I remove my code I see the it. However, it also shows other items that are not supposed to be shown.
Let’s say I have the following scenario:
Tax 1
– Item Number
– Date (should be hidden)
Tax 2
– Price
– DateIf I remove my code then both taxonomies will show the date sort.
pridigitalParticipant3 years, 3 months ago in reply to: Custom sorting fields doesn’t seem to work properly #35311No, I don’t. I’m using the “Default View”.
pridigitalParticipant3 years, 3 months ago in reply to: Custom sorting fields doesn’t seem to work properly #35308Yes, but item_number is already an active sort in my sort screen. You can see it in the screenshot I shared before. Am I missing something?
pridigitalParticipant3 years, 3 months ago in reply to: Custom sorting fields doesn’t seem to work properly #35298As you can see here the item number would be my “acf_1” field.
Also for reference this is what I get from the default sort fields variable before overwriting it.
array(2) { [0]=> string(17) "sort_by_date_desc" [1]=> string(16) "sort_by_date_asc" }pridigitalParticipant3 years, 3 months ago in reply to: Custom sorting fields doesn’t seem to work properly #35296Nope. Only after I manually add it in the code. Which is the weird part because I’ve added it in the backend through the WPSolr interface.
pridigitalParticipant3 years, 3 months ago in reply to: Custom sorting fields doesn’t seem to work properly #35286I’m using the WPSOLR_Events::WPSOLR_FILTER_SORT_FIELDS filter because I want to show different sort options for different post types. However, by doing that the HTML select returns the key for the label instead of the translation.
- This reply was modified 3 years, 3 months ago by pridigital. Reason: more details
pridigitalParticipant3 years, 4 months ago in reply to: Infinite loop when a hash is added to the URL #35075I forgot to mention that the bug is in one of the JS files. I think it’s in the autocomplete_solr.js file.
pridigitalParticipant3 years, 4 months ago in reply to: Wonky results when terms have same name but belong to different parents #35073Amazing, that seems to have solve the bug. There is a syntax error in one of the new version though. Thanks for all your support!
pridigitalParticipant3 years, 4 months ago in reply to: Wonky results when terms have same name but belong to different parents #35066pridigitalParticipant3 years, 4 months ago in reply to: Wonky results when terms have same name but belong to different parents #35064Here are the WPSOLR queries shown in the Query Monitor plugin. I posted the wrong link before.
pridigitalParticipant3 years, 4 months ago in reply to: Wonky results when terms have same name but belong to different parents #35063/topic/admin-vaccines/ shows 105 entries which is wrong.