Sorting on Alias

More
8 years 6 months ago #62306 by ggppdk
Replied by ggppdk on topic Sorting on Alias
I forgot that our "temporary" table does not have the "alias" column,

i ll disable the alias sorting option for now ...
at least i took chance to update our 'fcordering' parameter element, so the change to disable it will be in 1-2 files


-- 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
8 years 6 months ago #62370 by ggppdk
Replied by ggppdk on topic Sorting on Alias
Hello

i have added the alias column to the temporary table and tested it too

please re-download
github.com/FLEXIcontent/flexicontent-cck/tree/3.0.x-stable

and re-test in a testing web-site


-- 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
8 years 6 months ago #62385 by Ninjakitten
Replied by Ninjakitten on topic Sorting on Alias
Thank you -- I downloaded the linked version and alas it didn't work, but after a little poking I suspected it might not actually be the right one. I found flexicontent-cck-8bc2cda2bf8b4dc150221bd32799a8d473d94d19.zip and tried it as well.

On that one, it seems to be working in both the category-based lists of items and the search results! I only noticed one tiny issue so far, which is just that it doesn't yet have the option to pick alias/alias reverse in the search menu item. This isn't a problem for me, since I can just 'use global', but someone in future might need it.

I've also run into a tangentially-related issue, not new -- is there any good way to tell a search on a custom date field to put items without that field at the end rather than the beginning of the results? One of my types doesn't have the custom date field the other items are primary-sorted by, and I'd like those to show up at the end instead of the beginning.

Thank you again for all your work and help!

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

More
8 years 6 months ago #62392 by ggppdk
Replied by ggppdk on topic Sorting on Alias
Hello

about search order in menu item not showing the option
- we replaced all ordering parameters with the update parameter "fcorder"

will do the same in search menu too, since it does support all ordering
but e.g. in relation field , the field does not support all orderings

effectively all ordering are supported for:
- all category based views
- search view (will update the menu item parameter)
- universal content module

about custom display of search view
- to change the order you need to do a JOOMLA TEMPLATE overrided for file:

component/com_flexicontent/views/.search/tmpl/default_results.php
as
templates/JOOMLA_TMP_NAME/html/com_flexicontent/search/default_results.php


-- 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
8 years 6 months ago #62395 by Ninjakitten
Replied by Ninjakitten on topic Sorting on Alias
Aha, that makes sense! Thank you.

I've actually already got an override for default_results.php, which is working great for what I made it for, but I've poked around and I'm not sure how to use it to also rearrange where the items of the type that doesn't have the primary sorting field are ordered. Currently the results are like:
Item with no date
Item with no date
Item with no date
Item from 2001
Item from 2003
Item from 2016
Item from 2016

I want to make them be like:
Item from 2001
Item from 2003
Item from 2016
Item from 2016
Item with no date
Item with no date
Item with no date

The dateless ones need to be at the end of the whole list, not just the end of a given page. Admittedly I'm fairly tired at the moment -- am I missing something obvious?

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

More
8 years 6 months ago - 8 years 6 months ago #62398 by ggppdk
Replied by ggppdk on topic Sorting on Alias
Hello

i have added all orderings to search view menu item too


-- 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...
Last edit: 8 years 6 months ago by ggppdk.
The following user(s) said Thank You: Ninjakitten

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

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