My application has a table of items and anther table comprising a list of pictures for the item. When I show the data for an
item, I also display a column of thumbnails. The pictures are stored by filename, item_id, order of preference, pk. When the app
starts, it fills the picture BO with all the data, to display the thumbnails of an item I filter the BO and pass a file list to
the thumbnail class. The user can exchange the position of the thumbnails and this generates an event which edits the filtered BO
by exchanging the order of preference values. I then Save the BO. If I move to the next item and then back to the edited one,
the thumbnails are displayed in there original order. The data is saved correctly in the database and I can overcome this by
performing anther fill, but I don't want to do this every time I save the data.
Is there an easier way of reordering the data in the BO?
Many thanks in advance.