Add venv to .gitignore
Merge branch 'master' of https://github.com/gcba/ckan
fix legacy mode issue
Fix SQL for legacy mode

Fix SQL removing concat method that doesn't exist on previous versions of postgresql. The method is replaced by the || operator