ezsystems/ezpublish-kernel — pull request #1074 by iherak (2014-11-06 16:32:14+00:00)
Title: Fix legacy search location gateway not correctly quoting depth column

I was trying to create custom SortClauseHandler, in which I was joining external table which contained depth column. Because legacy search location gateway was not correctly referencing the depth column from ezcontentobject_tree, I was getting an error stating that depth column was ambiguous.
This pull request fixes this. If you require me to create jira issue, please let me know.