Due to enormous amounts of spam, the forum has been set to read-only mode.



Reply to topic  [ 8 posts ] 
Problem with Title Sort 
Author Message

Joined: Mon Mar 14, 2005 5:28 pm
Posts: 99
Location: France
Post Problem with Title Sort

Fredrik,

At the beginning of using the database, I had filled the tool "Ignore when sorting" with many prefixes ( Le, La, Les, L', Un, Una, Der, Die, Das, and many others )

A first problem was with L' : In french it's attached to the next word ( without space ), sample :
L'affaire Baldwin ( in english : The Baldwin Affair ). I should enter and record the book first, and then re-open the book to edit manually the Title sort to obtain : Affaire Baldwin, L'

Same with different languages in the same database :same words means diffent things :

French:
Il tue son voisin ( in english : He kills his neighbour ) : it's classed under the letter i

Italian :
Il prezzo del silenzio ( in english : The price of the silence ) : it's classed under the letter p

The only way to do it was to edit manually the Title sort

The second problem was when I updated Bookcat to 10.14 ( it never happened before with previous upgrades, and I use Bookcat since 2005 ) :
Most of my manually editions of Title Sort turned back automatically to the default sorting :

Sample with Un, Una,...
Image

I'm really disappointed ! I must now re-edit all the database ( nearly 14.000 books ) one by one and without being sure it will not happen again when future updates.

It did not happened in the sorting order of Series or Persons : another Sample :

Image

Do you have any idea what happened ? and to avoid such things for the future ?


Fri May 11, 2012 10:00 pm
Profile WWW

Joined: Sat May 06, 2006 2:02 am
Posts: 87
Location: Melbourne, Australia
Post Re: Problem with Title Sort

Hi

Looking at your sample for Un, Una etc, it appears that you have lost the Title Sort information altogether.

I've checked my database & my Title Sort is still there correctly, so I don't know why yours has gone. I know my Title Sort order has extensive changes done to it - magazines entered as 01 for January issue, 02 for February etc, for starters. It would be a pain to have to recreate that.


Actually no, I do have a problem with the sort order, in that the numerical replacement of the month number as stated above has disappeared and I'm back to an alphabetical listing of the months.

So, I agree something has broken with BookCAT.

Kevin Martin


Fri May 11, 2012 10:49 pm
Profile
Site Admin
User avatar

Joined: Fri Nov 22, 2002 3:52 pm
Posts: 13748
Post Re: Problem with Title Sort

j.f. le deist wrote:
Fredrik,

At the beginning of using the database, I had filled the tool "Ignore when sorting" with many prefixes ( Le, La, Les, L', Un, Una, Der, Die, Das, and many others )

A first problem was with L' : In french it's attached to the next word ( without space ), sample :
L'affaire Baldwin ( in english : The Baldwin Affair ). I should enter and record the book first, and then re-open the book to edit manually the Title sort to obtain : Affaire Baldwin, L'

Same with different languages in the same database :same words means diffent things :

French:
Il tue son voisin ( in english : He kills his neighbour ) : it's classed under the letter i

Italian :
Il prezzo del silenzio ( in english : The price of the silence ) : it's classed under the letter p

The only way to do it was to edit manually the Title sort

The second problem was when I updated Bookcat to 10.14 ( it never happened before with previous upgrades, and I use Bookcat since 2005 ) :

I have not heard of this happening before. Could be the database is corrupted. What version did you use before 10.14?

_________________
Fredrik Nordbakke
www.fnprg.com


Mon May 14, 2012 10:10 am
Profile WWW

Joined: Sat May 06, 2006 2:02 am
Posts: 87
Location: Melbourne, Australia
Post Re: Problem with Title Sort

Hi Fredrik

I have run Tools > Repair database & the problem has gone. I wonder if the last update somehow corrupted the sort title field & repairing has fixed it?


Kevin Martin


Mon May 14, 2012 10:52 am
Profile
Site Admin
User avatar

Joined: Fri Nov 22, 2002 3:52 pm
Posts: 13748
Post Re: Problem with Title Sort

kevinrailway wrote:
Hi Fredrik

I have run Tools > Repair database & the problem has gone. I wonder if the last update somehow corrupted the sort title field & repairing has fixed it?

Could have been a corrupt index. "Repair db" will recreate all indexes.

_________________
Fredrik Nordbakke
www.fnprg.com


Mon May 14, 2012 11:18 am
Profile WWW

Joined: Mon Mar 14, 2005 5:28 pm
Posts: 99
Location: France
Post Re: Problem with Title Sort

Fredrick,

This Week-end, I tried to understand what happened. And I finally remembered what I did the week before.
I launched a "Database Maintenance" and it was "Update Title Sort" ( of course ! ) that caused the mess.
I tried again with new datas and personal title sort : That same operation came to the same result.

One idea for new versions ( and for newcomers to the software ) would be alarm warning :
"Pay attention, when updating title sort, you'll loose your personal sort" ( or something just like this ).


Mon May 14, 2012 4:57 pm
Profile WWW
Site Admin
User avatar

Joined: Fri Nov 22, 2002 3:52 pm
Posts: 13748
Post Re: Problem with Title Sort

j.f. le deist wrote:
Fredrick,

This Week-end, I tried to understand what happened. And I finally remembered what I did the week before.
I launched a "Database Maintenance" and it was "Update Title Sort" ( of course ! ) that caused the mess.
I tried again with new datas and personal title sort : That same operation came to the same result.

One idea for new versions ( and for newcomers to the software ) would be alarm warning :
"Pay attention, when updating title sort, you'll loose your personal sort" ( or something just like this ).

To fix titles starting with L' you can use the SqlUpdate add-on to update the Title Sort field:

1. Backup your database.

2. Download and run http://www.fnprg.com/dl/sqlupdate.exe

3. Click the ... button and select your database.

4. Run this SQL Update query:

Code:
UPDATE Book SET TitleSort = UCASE(MID(Title, 3, 1)) + MID(Title, 4) + ", " + LEFT(Title, 2) WHERE LEFT(Title, 2) = "L'"

This will move L' to the end of the title, and make the first letter upper case.

_________________
Fredrik Nordbakke
www.fnprg.com


Tue May 15, 2012 9:52 am
Profile WWW

Joined: Mon Mar 14, 2005 5:28 pm
Posts: 99
Location: France
Post Re: Problem with Title Sort

It works very well, thanks !

I must remember and never forget : never "update title sort " ( maintenance ) :?


Wed May 16, 2012 5:38 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 8 posts ] 

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

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.