_(I'm not sure the title makes sense, change if you can find a better title)_
Hi, today I needed to alter the flippy query used get the related nodes (first, last, etc..) using a join on a table that uses the ``nid`` as a key, so I stumbled tinto this error:
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'nid' in where clause is ambiguous:
I took a look into the flippy code and I noticed that in some places it refers to the nid without using the 'n.nid' notation, so I created this patch to fix this issue.
If you need any further explanation just ask. :)
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 2356203-flippy-use-table-alias-with-nid.diff | 1.24 KB | esolitos |
Comments
Comment #1
esolitosPatch File
Comment #3
rliCommitted to dev.
Thanks.