Sort notes by age

Threads moved from the Suggestions forum after implementation

Moderators: Public Relations Department, Players Department

User avatar
Doug R.
Posts: 14857
Joined: Wed Mar 23, 2005 6:56 pm
Contact:

Sort notes by age

Postby Doug R. » Mon Mar 29, 2010 12:07 pm

I would like to see notes sorted by age again, with the oldest on the bottom, on both the inventory page and on the ground.
Hamsters is nice. ~Kaylee, Firefly
Andu
Posts: 685
Joined: Wed Aug 06, 2008 5:29 pm
Location: Finland

Re: Sort notes by age

Postby Andu » Mon Mar 29, 2010 5:34 pm

I think it's already that way with the inventory.
"An those with little fuel, could tie a pack of bears in front of their limousine, with whip and crossbow in hands to keep them in line."
User avatar
Doug R.
Posts: 14857
Joined: Wed Mar 23, 2005 6:56 pm
Contact:

Re: Sort notes by age

Postby Doug R. » Mon Mar 29, 2010 6:35 pm

Not quite.

1) Older notes are at the top, not the bottom.
2) There's always approximately 4 notes in my inventory that are always last, even if I make a new note. They seem to be perpetually "newer."
Hamsters is nice. ~Kaylee, Firefly
User avatar
SekoETC
Posts: 15523
Joined: Wed May 05, 2004 11:07 am
Location: Finland
Contact:

Re: Sort notes by age

Postby SekoETC » Mon Mar 29, 2010 7:45 pm

Well, I implemented this for the objects page but on the inventory page, they already seem to be sorted that way. The only thing that could cause a difference is if some of the notes have specifics other than NULL. Edit: Yup, I checked and some notes have specifics (blank) instead of NULL. That would make them get bunched together. I could update them to null.
Not-so-sad panda
User avatar
Doug R.
Posts: 14857
Joined: Wed Mar 23, 2005 6:56 pm
Contact:

Re: Sort notes by age

Postby Doug R. » Tue Mar 30, 2010 2:43 am

SekoETC wrote: I could update them to null.


If you could, that would be great.
Hamsters is nice. ~Kaylee, Firefly
kapasakius
Posts: 9
Joined: Wed Jan 06, 2010 11:09 pm

Re: Sort notes by age

Postby kapasakius » Tue Mar 30, 2010 5:36 am

This is great, especially notes on the ground, previously if someone died and there was hundreds of notes on the ground it was hell to tidy the place, pick up one note and the rest get randomly mixed up and you have to search all notes again. Brrrr. The same thing is with the resources, can this too be fixed, why resources are shuffled every time you pick one from the ground?
User avatar
SekoETC
Posts: 15523
Joined: Wed May 05, 2004 11:07 am
Location: Finland
Contact:

Re: Sort notes by age

Postby SekoETC » Tue Mar 30, 2010 11:57 am

Not anymore, or at least it shouldn't shuffle them anymore. I checked the objects page for one of my characters a few times but the order seemed to be the same. New piles and notes on top.

I also updated all note specifics from "" to NULL but new ones might get created.
Not-so-sad panda
User avatar
Doug R.
Posts: 14857
Joined: Wed Mar 23, 2005 6:56 pm
Contact:

Re: Sort notes by age

Postby Doug R. » Tue Mar 30, 2010 2:24 pm

SekoETC wrote:I also updated all note specifics from "" to NULL but new ones might get created.


I just apparently made one. How does this happen, and is there a way to prevent it?
Hamsters is nice. ~Kaylee, Firefly
User avatar
Doug R.
Posts: 14857
Joined: Wed Mar 23, 2005 6:56 pm
Contact:

Re: Sort notes by age

Postby Doug R. » Tue Mar 30, 2010 6:34 pm

Actually, every new note I make is sorting at the bottom of the note list.
Hamsters is nice. ~Kaylee, Firefly
User avatar
SekoETC
Posts: 15523
Joined: Wed May 05, 2004 11:07 am
Location: Finland
Contact:

Re: Sort notes by age

Postby SekoETC » Tue Mar 30, 2010 6:59 pm

I guess it might be something in the code. If the code for creating a new note enters "" for specifics instead of NULL or instead of leaving it unstated then it will become blank for all.
Not-so-sad panda
User avatar
Doug R.
Posts: 14857
Joined: Wed Mar 23, 2005 6:56 pm
Contact:

Re: Sort notes by age

Postby Doug R. » Wed Mar 31, 2010 3:44 pm

Can it be fixed? I've never had a problem before the conversion to UTF-8.
Hamsters is nice. ~Kaylee, Firefly
User avatar
Doug R.
Posts: 14857
Joined: Wed Mar 23, 2005 6:56 pm
Contact:

Re: Sort notes by age

Postby Doug R. » Tue Apr 06, 2010 6:39 pm

Since all the new notes I make seem to be missing NULL, would the simplest fix be to change the field in all existing notes to blank?
Hamsters is nice. ~Kaylee, Firefly
AlchemicRaker
Posts: 311
Joined: Thu Feb 05, 2009 4:56 am

Re: Sort notes by age

Postby AlchemicRaker » Tue Apr 06, 2010 8:28 pm

Doug R. wrote:Since all the new notes I make seem to be missing NULL, would the simplest fix be to change the field in all existing notes to blank?

If only older notes are marked NULL, and no NULL's have been created recently, then thats what I would do (just change all the NULL's to blanks in the database and be done with it)

- Natso
User avatar
Doug R.
Posts: 14857
Joined: Wed Mar 23, 2005 6:56 pm
Contact:

Re: Sort notes by age

Postby Doug R. » Tue Apr 06, 2010 8:30 pm

Since I don't have DB access, I can't say for sure that this is the case, just that it seems to be the case.
Hamsters is nice. ~Kaylee, Firefly

Return to “Implemented Suggestions”

Who is online

Users browsing this forum: No registered users and 1 guest