Universal mod, filter by field values of current item

More
10 years 6 months ago #47614 by jrodgar
Hi!

Was debugging, think I found the problem

On mod_flexicontent/helper.php:1888, on the line
Code:
// Single or Multi valued filter , handle by requiring ANY value else if ( isset($filter_values[0]) )

is wrong. Filter_values is used on static filters, not on dynamic filters. The correct line I think would be
Code:
// Single or Multi valued filter , handle by requiring ANY value else if ( isset($curritem_vals[0]) )

I´m correct? :)

Unless otherwise indicated:
Joomla 3.8.1
Flexicontent 3.2.1.7

Please Log in or Create an account to join the conversation.

More
10 years 6 months ago #47630 by ggppdk
Hello

as you know this is new feature of v2.2.0,

test/fixed it in r1912

and yes as description state you should enter integer , the field ids for which you want to listed items to have same value as currently viewed item

so you should enter, the field id that you entered originally:
e.g.

52

or

52,19,21


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.385 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline