Thanks for the response Dave,
I haven't got the hang of this editor yet so I hope this doesn't appear as
a total mess...
My view code...
{{ line=0 }}
{{=inv_lines }}
{{ for item in inv_lines: }}
{{ line+=1 }}
<TBODY>
<TR>
<TD ALIGN=CENTER WIDTH=50> {{ =line }} </TD>
<TD ALIGN=CENTER WIDTH=80> {{ =item.start_time.date() }} </TD>
<TD ALIGN=CENTER WIDTH=50> {{ =item.duration }} </TD>
<TD ALIGN=LEFT WIDTH=550>PAP{{ =item.person+1000 }}/ {{ =
item.task_type }}/ {{ =item.title }}/ {{=item.task_status}}</TD>
<TD ALIGN=RIGHT > € {{ =item.charge }} </TD>
<TD ALIGN=CENTER > {{ =button('edit' , 'edit_task' ,
(item.task.id)) }} </TD>
</TR>
{{ pass }}
which is similar to your last example
(however the <ul><LI> wrapper screws with my formatting by forcing bullet
points)
*The weird thing is the problem seems to be gone. *
I set up some new transactions, out of sequence by datetime, like
1st/Aug...
23rd/Aug..
7th/Aug...
15th/Aug...
So these would have transaction table ids in sequence e.g. 5,6,7,8
respectively
When I run the view now (with these newly created transactions) it ignores
the id sequence and preserves the 'orderby=start_time'.
The old transactions that I was working are still there but currently not
available until I do some adjustments to let them
invoice again - so I will try them again tomorrow just to see if there was
something in there that I am missing.
Thanks again!
Peter
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.