Ok, bug fixed, it will be in the next stable release On Tue, May 3, 2016 at 7:52 PM, Jefferson Ferreira <[email protected]> wrote:
> > Hi, > > I have seen an issue at the collections in the LuaAPI of the darktable. > The collections should return only the visible images in the lightroom > view. Instead, the darktable.collection is returning all images from film > roll. > > For example ... > > - film roll > filmA (5 photos) > filmB (10 photos) > filmC (5 photos) > > if I select the filmB and print the darktable.collection (lua), my output > appears like: > > filmA/foto1 > filmA/foto2 > filmA/foto3 > filmA/foto4 > filmA/foto5 > filmB/foto1 > filmB/foto2 > filmB/foto3 > filmB/foto4 > filmB/foto5 > > the #darktable.collection (length of the table) is correct ( = 10 ), but > the list always starts with the first film (album) of the film roll. > > to try fix this problem, I'm using the darktable.database avoiding the > functions ... > > for _,image in (darktable.database) do > if (type(image) == "function") then > break > end > -- process the photo > end > > thanks in advance. > > ___________________________________________________________________________ > darktable developer mailing list to unsubscribe send a mail to > [email protected] > ___________________________________________________________________________ darktable developer mailing list to unsubscribe send a mail to [email protected]
