Opened 8 years ago

Closed 8 years ago

Last modified 5 years ago

#8039 closed (fixed)

Incompatibillity with extra and order_by in some cases

Reported by: beiske@… Owned by: Malcolm Tredinnick
Component: Database layer (models, ORM) Version: master
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


The problem is however fixed by a side effect in as_sql(). Dont know exactly how to best describe this, but I've included a code-sample.

Attachments (1) (1.4 KB) - added by anonymous 8 years ago.

Download all attachments as: .zip

Change History (6)

Changed 8 years ago by anonymous

Attachment: added

comment:1 Changed 8 years ago by Jacob

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Resolution: duplicate
Status: newclosed

Duplicate of #8191.

comment:2 Changed 8 years ago by Malcolm Tredinnick

milestone: 1.0
Resolution: duplicate
Status: closedreopened
Triage Stage: UnreviewedAccepted

Reopening, since this really is a separate issue to parameter handling in extra(), which is the topic of #8191 and I don't want that ticket to become the dumping ground for all things extra-related.

comment:3 Changed 8 years ago by Malcolm Tredinnick

Owner: changed from nobody to Malcolm Tredinnick
Status: reopenednew

comment:4 Changed 8 years ago by Malcolm Tredinnick

Resolution: fixed
Status: newclosed

(In [8429]) Fixed #8039 -- Make sure that extra(tables=...) tables are always included in
the resulting SQL. Previously, an optimisation was removing them in some corner

comment:5 Changed 5 years ago by Jacob

milestone: 1.0

Milestone 1.0 deleted

Note: See TracTickets for help on using tickets.
Back to Top