On 2/21/13, Magnus Therning <[email protected]> wrote:
> On Mon, Feb 18, 2013 at 11:07:06PM -0500, Olemis Lang wrote:
>> On 2/18/13, Magnus Therning <[email protected]> wrote:
>> > Hi,
>> >
>>
>> :)
>>
>> [...]
>> > I'd rather use
>> > a TracQuery but I can't seem to access the vote count field at all.
>> >
>>
>> Only ticket fields allowed
>
> Ah, that would explain it :) Would you argue that implementing voting
> by adding custom fields to tickets would be a better route?
>
u have the answers :
votes are limited to tickets ?
>> > The schema is defined like this:
>> >
>> > schema = [
>> > Table('votes', key=('resource', 'username', 'vote'))[
>> > Column('resource'),
>> > Column('username'),
>> > Column('vote', 'int'),
>> > ]
>> > ]
>> >
>>
>> Resource relationship is not complete .
>
> Pardon my ignorance, but what does that statement mean? What is it
> lacking? How can I make it complete?
>
resources have : realm , id , version , see trac/resource.py (and |
or) trac/attachment.py for further details .
--
Regards,
Olemis.
Apache⢠Bloodhound contributor
http://issues.apache.org/bloodhound
Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/
Featured article:
--
You received this message because you are subscribed to the Google Groups "Trac
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.