Custom order don´t take global value

More
11 years 2 months ago #46095 by jrodgar
If there is something I can test for you, let me know.

Unless otherwise indicated:
Joomla 3.8.1
Flexicontent 3.2.1.7

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

More
11 years 2 months ago #46121 by ggppdk
Hello

i meant double check the thing i mentioned above , and then if it does not work,

i will find time to test this locally

as i said heritage custom field ordering is new


-- 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.

More
11 years 2 months ago #46278 by jrodgar
I was debugging and I think I got a couple of things to think about.

On components/com_flexicontent/models/category.php:_loadCategoryParams

$menu_params->data and $comp_params->data have a different structure, menu_params seems to add an array so later the get('orderbycustomfieldid') don´t work properly. You have noted this on line 1633 but I´m not sure if this is enough.

Another issue is that the code is adding left joins to fields_items_relations.value
, but I´m guessing that fields with type date published don´t have a entry on this table so the left join later fails to order nothing, could be?

Unless otherwise indicated:
Joomla 3.8.1
Flexicontent 3.2.1.7

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

More
11 years 2 months ago #46291 by ggppdk
Hello

i had time to look at it reason for not inherited is simply because value of custom field in categories is non-empty, instead of being "" it is "0"

-- the categories when you set custom field for ordering to:
"select field"

will set a value of "0" which is a non-empty value thus the global value cannot be inherited !

will have made a fix/workaround for v2.2.0

Regards


-- 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.

More
11 years 3 weeks ago #47288 by jrodgar
superficial tests on order by publish date, and inheritance, dont´t seem to work on 2.2.0 r1906

Unless otherwise indicated:
Joomla 3.8.1
Flexicontent 3.2.1.7

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

More
11 years 3 weeks ago #47290 by ggppdk
Hello

tested this and it works, both core fields heritage and custom field heritage

1. please go to
Component configuration / Content Display TAB

and enable parameter:
"DEBUG parameter heritage"
and you get a frontend message like (category view):

- CLONED COMPONENT PARAMETERS
- MERGED CATEGORY PARAMETERS of (inherit-from) category: Sample Data-Articles
- MERGED CATEGORY PARAMETERS of (inherit-from) category: Joomla!
- MERGED CATEGORY PARAMETERS of current category



2. NOTE there is a parameter (in component and in each category) inside the

Parameter handling TAB:

"Inherit parameters from"

- component
- specific category
- all parent categories (e.g. the above example)


3. NOTE: CORE property for ordering will not be use if both:
a. USE CUSTOM FIELD ORDER is enabled (or inherited to yes)
b. a custom field selection is selected (or inherited)


Regards


-- 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: 1.074 seconds
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
Save