Custom Order not working

More
6 years 8 months ago #68633 by ggppdk
Replied by ggppdk on topic Custom Order not working
Hello

i see,
the frontend order selector is broken, due to filtering

filtering should not be CMD

i am fixing the frontend order selector


-- 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
6 years 8 months ago #68634 by lomuyeh
Replied by lomuyeh on topic Custom Order not working
I did some query on JInput.
docs.joomla.org/Retrieving_request_data_using_JInput

When the filter set to 'cmd':

// Allow a-z, 0-9, underscore, dot, dash. Also remove leading dots from result.

Seems it will remove the ':' (%3A) in the $request_var.

I don't know if it's the problem, or maybe some problems of the setting on my sever. I modify 'cmd' to 'string', and the custom order override works.

Hope it helps.

Thanks,
Lomu

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

More
6 years 8 months ago #68635 by lomuyeh
Replied by lomuyeh on topic Custom Order not working
Sorry for another question.

When I set '25:alpha:desc' in the custom ordering override, this option is not shown.
It works well when I set '25:int:desc'. The option is shown and override is good when select this option.

Any problem about the alpha setting? My field 25 is TEXT, so I think it's not the problem of the field setting.

Thanks,
Lomu

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

More
6 years 8 months ago #68636 by ggppdk
Replied by ggppdk on topic Custom Order not working
Hello

We changed filtering to replace
JRequest class that will not exist in J4

so the bug was introduced then

The result of the above is the part "alpha" "int" etc (of frontend order selector) can no longer be detected properly
i have made a fix and i am testing now


-- 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...
The following user(s) said Thank You: lomuyeh

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

More
6 years 8 months ago #68637 by ggppdk
Replied by ggppdk on topic Custom Order not working
Hello

this is the fixed version that includes fix for frontend orderby selector

github.com/FLEXIcontent/flexicontent-cck/releases/


-- 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...
The following user(s) said Thank You: lomuyeh

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.291 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