QueryMaker issues

William Viana vianasw at gmail.com
Wed Aug 27 14:58:01 CEST 2008


It worked by just adding the case for valCreateDate :)
thanks.
-- 
    -William-

2008/8/27 Maximilian Kossick <maximilian.kossick at googlemail.com>

> 2008/8/27 Daniel Winter <dw at danielwinter.de>:
> > On Wednesday 27 August 2008 13:52:42 Daniel Winter wrote:
> >> Hi,
> >
> > arghs, swichting from english to german..  lets translate myself...
> >
> >> well the problem direct in the code of th QueryMaker is that
> >> SqlQueryMaker::nameForValue()  (benutzt von orderBy() )  für
> valCreateDate
> >> nichts brauchbares zurückgibt.
> >
> > well the problem direct in the code of the QueryMaker is that
> > SqlQueryMaker::nameForValue()  (used by orderBy() ) doesn't return
> anything
> > usefull for valCreateDate.
> >
> >> Der Grund dafür liegt glaube ich (schau dir mal die Datenbankstruktur
> an)
> >> daran, dass dieser Wert in der SQL Datenbank garnicht gespeichert wird?
> >
> > The reason for that is I believe (take a look at the db structure), that
> this
> > value isn't stored in the sql db at all.
> >
> >>  Wird er das doch musst nur nur in der nameForValue eben nen case dafür
> >> hinzufügen. Andernfalls musst du die DB zusätzlich entsprechend
> erweitern.
> >
> > If I am wrong and it get stored then you only need to add that case to
> the
> > nameForValue function otherwise you have also to modify the DB and the
> > collection scanner code to store that information.
>
> It should be stored as tracks.createdate, but the case is missing.
> please note that this query actually operates on tracks, not albums,
>
> Max
> _______________________________________________
> Amarok-devel mailing list
> Amarok-devel at kde.org
> https://mail.kde.org/mailman/listinfo/amarok-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/amarok-devel/attachments/20080827/32d18641/attachment.htm 


More information about the Amarok-devel mailing list