Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-02-09 15:48:38

std
Member
From: Germany
Registered: 2004-03-19
Posts: 18

[resolved] [Solved] "prev" and "next" on article edit page behave inconsistently

Today I stumbled upon an inconsistent behavior of the “previous” and “next” buttons on the article edit page:

The articles in “content” -> “articles” are sorted by date by default, right? When editing an article I would expect that the “previous” or “next” button also operates by date, consequently. But this is not the case, unfortunately. Instead the function uses the article ID as criterion.

This behavior leads to great confusion, because article dates can change. Thereby articles IDs do not necessarily represent the same order as the actual dates of the articles.

If someone could address that problem I would very appreciate it.

Cheers,

std

Offline

#2 2009-02-09 18:15:47

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: [resolved] [Solved] "prev" and "next" on article edit page behave inconsistently

It’s based on date.
Is there any chance that two or more of your articles have the same time post?


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

#3 2009-02-09 18:54:53

std
Member
From: Germany
Registered: 2004-03-19
Posts: 18

Re: [resolved] [Solved] "prev" and "next" on article edit page behave inconsistently

maniqui wrote:

Is there any chance that two or more of your articles have the same time post?

That’s actually true. Problem fixed.

Although I’m not convinced that having articles with the same date shoud cause the previous/back function to fall back to order by ID. Textpattern does not warn that doing so could result in such problems.

Big thanks for your quick, visionary reply!

Cheers,

std

Offline

#4 2009-02-09 20:23:30

maniqui
Member
From: Buenos Aires, Argentina
Registered: 2004-10-10
Posts: 3,070
Website

Re: [resolved] [Solved] "prev" and "next" on article edit page behave inconsistently

It wasn’t visionary reply, hehe, it happened to me before.


La música ideas portará y siempre continuará

TXP Builders – finely-crafted code, design and txp

Offline

Board footer

Powered by FluxBB