aboutsummaryrefslogtreecommitdiffstats
path: root/spec/lib
diff options
context:
space:
mode:
authorTeddy Wing2018-03-07 11:37:30 +0100
committerJohan Van Ryseghem2018-03-07 13:19:41 +0100
commit186662b9ef2e996ec649298debb3df352f9849bf (patch)
treed342dd7d774a359a2a699beb3f683239a01ae6b2 /spec/lib
parent7034809b7ce458c32597026d69afdf5c37db6bd4 (diff)
downloadchouette-core-186662b9ef2e996ec649298debb3df352f9849bf.tar.bz2
Chouette::Line#by_name: Use `LEFT OUTER JOIN` on "companies"
Thanks to Johan for helping me with this. He correctly remarked that what I had before will do an `INNER JOIN`, which ends up excluding lines that don't have an associated company. I didn't really think about the data, and didn't realise we had lines without a company. Big thanks to Johan for seeing that I needed to add `public.` to qualify the `companies` table in order for the join to work. Otherwise it doesn't work correctly and we can't filter by company name. Refs #5889
Diffstat (limited to 'spec/lib')
0 files changed, 0 insertions, 0 deletions