Adapt to new DB structure
Merge pull request #930 from geoadmin/gal_topics_newdbstructure

Adapt to new DB structure