Skip to content
Snippets Groups Projects
Commit c9e6ba18 authored by Jared Hancock's avatar Jared Hancock
Browse files

orm: Fix incorrect queries in InstrumentedLists

If a relationship has more than one field in the constraint, then the
InstrumentedList query generated would not be correct. This happens often
in osTicket for the join foreign key fields `object_type` and `object_id`.

This patch addresses the issue by sending all the fields in the foreign key
to the InstrumentedList constructor.
parent 30b7023c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment