Notalib/LYT — Issue #75: Ordering books
Author: simmoe
Created: 2012-01-06 11:42:19+00:00
State: open
Labels: bug, feature

Right, so there is a few issues to do with the logic between searching, putting on bookshelf and/or playing books - I'll collect them here.

The logic should be as follows:

When you click play on a book it is placed as the first item on the bookshelf where it stays (with the nowplaying) until another book is played. As is, it sometimes gets moved second and stuff if you issue other books while playing.

When you search for a book - with or without playing another - there's two options in book-details:

Issue: which should put the book right below currently playing book or on top of the shelve if no other book is being played. Right now - I thnk - there's a bug, can't find the issued bok on my list (but it's very long, so I don't know if this has to do with the way the shelve is returned from ajax). Btw the shelve must return books ordered by issuedate otherwise none og this will work.

Play: which should replace the currently playing book (if there is one) (don't forget to empty the fields before filling them in again otherwise you get strange covers and other details from wrong books etc), play the book, and put it on top of the shelve with the nowplaying icon.