The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.



Post new topic Reply to topic  [ 15 posts ] 
Author Message
PostPosted: Wed Mar 09, 2011 12:31 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Jul 30, 2010 2:06 pm
Posts: 8
Hi there,
I have two categories A + B and both belong to the same section.

Under each category I have several articles. Now when I click into the article manager to view all articles, I click on the sort column to view a list of articles sorted in from 1-1xx.

Now the problem is that I see all my articles in category A first. Then I see the articles in category B way further down on the page.

Some of these articles in category B would have a higher order number set but they still appear way on down in the list.

The front end respects the order I have the articles in; the problem really is in the backend as articles I want to order at the top appear too far down on the list because they are in category B.

Hope this makes sense.

Can anyone help?


Top
 Profile  
 
PostPosted: Tue Mar 22, 2011 12:31 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Aug 04, 2007 7:27 am
Posts: 47
Location: NL - Eindhoven
Same problem here. Somehow something seems to be changed. I'm not a code expert, but I could be in component/com_content/models/category.php between line 380 and 410 more or less. I think these lines have been added, but can't find anything about it in the changelog.

Code:
        if (!in_array($filter_order, array('a.title', 'author', 'a.hits', 'a.created', 'a.publish_up', 'a.publish_down', 'a.modified'))) {
            $filter_order = '';
        }

        if (!in_array(strtoupper($filter_order_Dir), array('ASC', 'DESC'))) {
            $filter_order_Dir = 'ASC';
        } 


We've had this question on the Dutch Joomla forum as well, so your conclusion is right.

Downgrading (which you don't want to) to 1.5.21 gives the result in ordering that should be expected. Nicely ordered on creation date.

Would be great if one of the developers could have a look at this issue.


Top
 Profile  
 
PostPosted: Mon Mar 28, 2011 11:38 am 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sat Jul 03, 2010 4:10 am
Posts: 198
Which field are you sorting by the order column? Then what you experience is correct.
Here is the explanation,
When you sort by Order column, The Sort goes like this. Sort by CategoryName (first) -> Sort by Article Name (second) --> Sort by Order(third)
If you wanted the table to be sorted by Category name, please click the category link and not order link.
Did i understand you correctly ?

_________________
Please read forum rules regarding signatures: viewtopic.php?t=65


Top
 Profile  
 
PostPosted: Mon Mar 28, 2011 12:06 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Aug 04, 2007 7:27 am
Posts: 47
Location: NL - Eindhoven
Section blog. Section is News and has different news categories.
Advanced parameters:
Category order: no, Order by primary order only.
Primary order: Most recent first.

In 1.5.21 Blog order was indeed by date and showed most recent first. Somehow since 1.5.22 this is not happening anymore.

So this doesn't make sense. If you want to show articles, you allways want to have the most recent on top.


Top
 Profile  
 
PostPosted: Mon Mar 28, 2011 12:16 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Jul 30, 2010 2:06 pm
Posts: 8
Hi,

no I don't think you understood me correctly. I want to sort by order, with #1 at the top and #100 at the bottom.

The problem is that if an article has sort order #10 and is in category B then it will still appear below an article that has sort order #20 but is in category A


Top
 Profile  
 
PostPosted: Mon Mar 28, 2011 12:19 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sat Jul 03, 2010 4:10 am
Posts: 198
As explained again,
When you sort by order, Sorting is done by Category Name first only then by Sort order of the articles

_________________
Please read forum rules regarding signatures: viewtopic.php?t=65


Top
 Profile  
 
PostPosted: Mon Mar 28, 2011 12:41 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Aug 04, 2007 7:27 am
Posts: 47
Location: NL - Eindhoven
I think these are two different problems. Mine has to do with frontend and showing by date, yours is related to backend. My mistake, I've put my question here as I thought it was the same problem.
If it's ok, I'll make a new question or maybe some moderator can split these two questions?


Top
 Profile  
 
PostPosted: Mon Mar 28, 2011 12:58 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Jul 30, 2010 2:06 pm
Posts: 8
Yes two different problems.

@ gokujames - With regarding my issue... are you saying that it's not possible to sort the way I want it to?


Top
 Profile  
 
 Post subject: Re: Yes absolutely
PostPosted: Mon Mar 28, 2011 2:54 pm 
Joomla! Enthusiast
Joomla! Enthusiast

Joined: Sat Jul 03, 2010 4:10 am
Posts: 198
You cannot have custom sort order as you wanted . Sorry but there are some limitations and this is does not even fit for feature request as already there are 4 filters Category Name, Section name, Published and etc

_________________
Please read forum rules regarding signatures: viewtopic.php?t=65


Top
 Profile  
 
PostPosted: Mon Mar 28, 2011 3:12 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Jul 30, 2010 2:06 pm
Posts: 8
Fair enough. I just thought it would be a fairly standard affair that if I'm viewing all articles I can sort them by 'sort order' ignoring if they belong to the same category or not.


Top
 Profile  
 
PostPosted: Thu Apr 14, 2011 2:33 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Fri Jul 30, 2010 2:06 pm
Posts: 8
The reason I was asking this is because we wanted to change the order of articles on the frontpage. I probably should have specified this in the original post.

In the end I solved our problem by setting whatever articles I wanted to go on the homepage as frontpage articles and then used Front Page Manager under Content in the backend to change the order of these.


Top
 Profile  
 
PostPosted: Thu May 05, 2011 2:29 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Aug 01, 2007 10:43 am
Posts: 31
we desperately need ability to sort articles by order on front page. Order defined previously in forntpage manager totally breaks if multiply categories used. It is not acceptable that joomla sorts it out now by category first than set up order of articles. IT KILLS OUR WEBSITES!

Please someone give us a clue how a hell get rid out of categories sorting on front page!

If you do not understand the necessity to do this please do not reply to this message - that only means that you do not run live site on joomla.

PS


Top
 Profile  
 
PostPosted: Thu May 05, 2011 3:21 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Sat Aug 04, 2007 7:27 am
Posts: 47
Location: NL - Eindhoven
Upgrade to 1.5.23 will solve your problem. It was something that worked in 1.5.21, then disappeared in 1.5.22 and is back again in 1.5.23.


Top
 Profile  
 
PostPosted: Fri May 06, 2011 2:46 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Wed Aug 01, 2007 10:43 am
Posts: 31
same problem with 1.5.23 . It must be associated with "null" option for "No, primary order only" which is not null but "default" in fact. Somewhere must be that default which is used when "null" is selected. I failed to find it.


Top
 Profile  
 
PostPosted: Thu Aug 18, 2011 6:31 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Tue Aug 16, 2011 9:13 pm
Posts: 3
Has anyone found a solution for this problem?


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ] 



Who is online

Users browsing this forum: No registered users and 18 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group