Zim

Comment 12 for bug 303657

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote : Re: [Bug 303657] Re: natural sorting in the page index

On Fri, Apr 1, 2011 at 2:18 PM, Lisa <email address hidden> wrote:

> Patch coming!
>
> Just two notes:
> 1) I'm not very sure about how the Home page is handled, so I set manually
> its position to 1 when the first customized page is created. Sure there's a
> better method. Look for a FIXME comment in the code to find this part.
>

Strange, Home should not be special in any way in the index.

> 2) I added a new column in the pages table, so existent databases should
> issue an ALTER TABLE command or re-initialize the database.
>

There is a database version in the code, when that is increased database is
re-initialized automatically. So no problem there.

** Patch added: "Bugfix-#303657.patch"
>
> https://bugs.launchpad.net/zim/+bug/303657/+attachment/1963415/+files/Bugfix-%23303657.patch
>

Had a quick look and looks solid, will test it out early next week.

Thanks!

Jaap