-db:SELECT ... FROM "memopol_themes_theme" INNER JOIN "memopol_themes_theme_dossiers" ON ( "memopol_themes_theme"."id" = "memopol_themes_theme_dossiers"."theme_id" ) WHERE "memopol_themes_theme_dossiers"."dossier_id" IN (#)
-db:SELECT ... FROM "memopol_settings_setting" WHERE "memopol_settings_setting"."key" IN (...)
-db:SELECT ... FROM "memopol_themes_theme" INNER JOIN "memopol_themes_theme_dossiers" ON ( "memopol_themes_theme"."id" = "memopol_themes_theme_dossiers"."theme_id" ) WHERE "memopol_themes_theme_dossiers"."dossier_id" IN (#)
-db:SELECT ... FROM "representatives_votes_document" WHERE "representatives_votes_document"."dossier_id" IN (#)
-db:SELECT ... FROM "representatives_chamber" WHERE "representatives_chamber"."id" IN (#)
-db:SELECT ... FROM "memopol_settings_setting" WHERE "memopol_settings_setting"."key" IN (...)
-db:SELECT COUNT(*) FROM (SELECT ... FROM "representatives_votes_dossier" LEFT OUTER JOIN "representatives_votes_proposal" ON ( "representatives_votes_dossier"."id" = "representatives_votes_proposal"."dossier_id" ) LEFT OUTER JOIN "representatives_votes_document" ON ( "representatives_votes_dossier"."id" = "representatives_votes_document"."dossier_id" ) LEFT OUTER JOIN "representatives_recommendations_recommendation" ON ( "representatives_votes_proposal"."id" = "representatives_recommendations_recommendation"."proposal_id" ) GROUP BY "representatives_votes_dossier"."id") subquery
-db:SELECT ... FROM "representatives_votes_document" WHERE "representatives_votes_document"."dossier_id" IN (...)
-db:SELECT ... FROM "representatives_chamber" WHERE "representatives_chamber"."id" IN (...)
-db:SELECT ... FROM "memopol_themes_theme" INNER JOIN "memopol_themes_theme_dossiers" ON ( "memopol_themes_theme"."id" = "memopol_themes_theme_dossiers"."theme_id" ) WHERE "memopol_themes_theme_dossiers"."dossier_id" IN (...)
-db:SELECT ... FROM "memopol_settings_setting" WHERE "memopol_settings_setting"."key" IN (...)
-db:SELECT ... FROM "memopol_themes_theme" INNER JOIN "memopol_themes_theme_dossiers" ON ( "memopol_themes_theme"."id" = "memopol_themes_theme_dossiers"."theme_id" ) WHERE "memopol_themes_theme_dossiers"."dossier_id" IN (#)
-db:SELECT ... FROM "memopol_settings_setting" WHERE "memopol_settings_setting"."key" IN (...)
-db:SELECT ... FROM "memopol_themes_theme" INNER JOIN "memopol_themes_theme_proposals" ON ( "memopol_themes_theme"."id" = "memopol_themes_theme_proposals"."theme_id" ) WHERE "memopol_themes_theme_proposals"."proposal_id" IN (...)
-db:SELECT ... FROM "memopol_themes_theme" INNER JOIN "memopol_themes_theme_dossiers" ON ( "memopol_themes_theme"."id" = "memopol_themes_theme_dossiers"."theme_id" ) WHERE "memopol_themes_theme_dossiers"."dossier_id" IN (#)
-db:SELECT ... FROM "memopol_settings_setting" WHERE "memopol_settings_setting"."key" IN (...)
-db:SELECT ... FROM "memopol_themes_theme" INNER JOIN "memopol_themes_theme_proposals" ON ( "memopol_themes_theme"."id" = "memopol_themes_theme_proposals"."theme_id" ) WHERE "memopol_themes_theme_proposals"."proposal_id" IN (...)
-db:SELECT ... FROM "representatives_mandate" LEFT OUTER JOIN "representatives_group" ON ( "representatives_mandate"."group_id" = "representatives_group"."id" ) LEFT OUTER JOIN "representatives_chamber" ON ( "representatives_group"."chamber_id" = "representatives_chamber"."id" ) LEFT OUTER JOIN "representatives_constituency" ON ( "representatives_mandate"."constituency_id" = "representatives_constituency"."id" ) LEFT OUTER JOIN "representatives_country" ON ( "representatives_constituency"."country_id" = "representatives_country"."id" ) WHERE "representatives_mandate"."representative_id" IN (#) ORDER BY ...
-db:SELECT ... FROM "memopol_themes_theme" INNER JOIN "memopol_themes_theme_proposals" ON ( "memopol_themes_theme"."id" = "memopol_themes_theme_proposals"."theme_id" ) WHERE "memopol_themes_theme_proposals"."proposal_id" IN (...)
-db:SELECT ... FROM "memopol_themes_theme" INNER JOIN "memopol_themes_theme_dossiers" ON ( "memopol_themes_theme"."id" = "memopol_themes_theme_dossiers"."theme_id" ) WHERE "memopol_themes_theme_dossiers"."dossier_id" IN (...)
-db:SELECT ... FROM "representatives_votes_document" WHERE "representatives_votes_document"."dossier_id" IN (...)
-db:SELECT ... FROM "representatives_chamber" WHERE "representatives_chamber"."id" IN (#)
-db:SELECT ... FROM "memopol_themes_theme" LEFT OUTER JOIN "memopol_themes_theme_dossiers" ON ( "memopol_themes_theme"."id" = "memopol_themes_theme_dossiers"."theme_id" ) LEFT OUTER JOIN "memopol_themes_themelink" ON ( "memopol_themes_theme"."id" = "memopol_themes_themelink"."theme_id" ) LEFT OUTER JOIN "memopol_themes_theme_positions" ON ( "memopol_themes_theme"."id" = "memopol_themes_theme_positions"."theme_id" ) LEFT OUTER JOIN "memopol_themes_theme_proposals" ON ( "memopol_themes_theme"."id" = "memopol_themes_theme_proposals"."theme_id" ) WHERE "memopol_themes_theme"."featured" = true GROUP BY ...
-db:SELECT ... FROM "representatives_chamber" LEFT OUTER JOIN "representatives_votes_document" ON ( "representatives_chamber"."id" = "representatives_votes_document"."chamber_id" ) LEFT OUTER JOIN "representatives_votes_dossier" ON ( "representatives_votes_document"."dossier_id" = "representatives_votes_dossier"."id" ) LEFT OUTER JOIN "representatives_votes_proposal" ON ( "representatives_votes_dossier"."id" = "representatives_votes_proposal"."dossier_id" ) GROUP BY ...
-db:SELECT ... FROM "representatives_mandate" LEFT OUTER JOIN "representatives_group" ON ( "representatives_mandate"."group_id" = "representatives_group"."id" ) LEFT OUTER JOIN "representatives_chamber" ON ( "representatives_group"."chamber_id" = "representatives_chamber"."id" ) LEFT OUTER JOIN "representatives_constituency" ON ( "representatives_mandate"."constituency_id" = "representatives_constituency"."id" ) LEFT OUTER JOIN "representatives_country" ON ( "representatives_constituency"."country_id" = "representatives_country"."id" ) WHERE "representatives_mandate"."representative_id" IN (#) ORDER BY ...
-db:SELECT ... FROM "representatives_email" WHERE "representatives_email"."representative_id" IN (#)
-db:SELECT ... FROM "representatives_website" WHERE ("representatives_website"."kind" IN (...) AND "representatives_website"."representative_id" IN (#)) ORDER BY "representatives_website"."id" ASC
-db:SELECT ... FROM "representatives_website" WHERE ("representatives_website"."kind" IN (...) AND "representatives_website"."representative_id" IN (#)) ORDER BY "representatives_website"."id" ASC
-db:SELECT ... FROM "representatives_website" WHERE (NOT ("representatives_website"."kind" IN (...)) AND NOT ("representatives_website"."kind" IN (...)) AND "representatives_website"."representative_id" IN (#)) ORDER BY "representatives_website"."id" ASC
-db:SELECT ... FROM "representatives_address" INNER JOIN "representatives_country" ON ( "representatives_address"."country_id" = "representatives_country"."id" ) WHERE "representatives_address"."representative_id" IN (#) ORDER BY "representatives_address"."id" ASC
-db:SELECT ... FROM "representatives_phone" WHERE "representatives_phone"."address_id" IN (...)
-db:SELECT ... FROM "representatives_phone" WHERE "representatives_phone"."address_id" IN (...)
-db:SELECT ... FROM "representatives_mandate" LEFT OUTER JOIN "representatives_group" ON ( "representatives_mandate"."group_id" = "representatives_group"."id" ) LEFT OUTER JOIN "representatives_chamber" ON ( "representatives_group"."chamber_id" = "representatives_chamber"."id" ) LEFT OUTER JOIN "representatives_constituency" ON ( "representatives_mandate"."constituency_id" = "representatives_constituency"."id" ) LEFT OUTER JOIN "representatives_country" ON ( "representatives_constituency"."country_id" = "representatives_country"."id" ) WHERE "representatives_mandate"."representative_id" IN (...) ORDER BY ...
-db:SELECT ... FROM "memopol_settings_setting" WHERE "memopol_settings_setting"."key" IN (...)
-db:SELECT ... FROM "representatives_mandate" LEFT OUTER JOIN "representatives_group" ON ( "representatives_mandate"."group_id" = "representatives_group"."id" ) LEFT OUTER JOIN "representatives_chamber" ON ( "representatives_group"."chamber_id" = "representatives_chamber"."id" ) LEFT OUTER JOIN "representatives_constituency" ON ( "representatives_mandate"."constituency_id" = "representatives_constituency"."id" ) LEFT OUTER JOIN "representatives_country" ON ( "representatives_constituency"."country_id" = "representatives_country"."id" ) WHERE "representatives_mandate"."representative_id" IN (#) ORDER BY ...
-db:SELECT ... FROM "representatives_email" WHERE "representatives_email"."representative_id" IN (#)
-db:SELECT ... FROM "representatives_website" WHERE ("representatives_website"."kind" IN (...) AND "representatives_website"."representative_id" IN (#)) ORDER BY "representatives_website"."id" ASC
-db:SELECT ... FROM "representatives_website" WHERE ("representatives_website"."kind" IN (...) AND "representatives_website"."representative_id" IN (#)) ORDER BY "representatives_website"."id" ASC
-db:SELECT ... FROM "representatives_website" WHERE (NOT ("representatives_website"."kind" IN (...)) AND NOT ("representatives_website"."kind" IN (...)) AND "representatives_website"."representative_id" IN (#)) ORDER BY "representatives_website"."id" ASC
-db:SELECT ... FROM "representatives_address" INNER JOIN "representatives_country" ON ( "representatives_address"."country_id" = "representatives_country"."id" ) WHERE "representatives_address"."representative_id" IN (#) ORDER BY "representatives_address"."id" ASC
-db:SELECT ... FROM "representatives_phone" WHERE "representatives_phone"."address_id" IN (...)
-db:SELECT ... FROM "representatives_phone" WHERE "representatives_phone"."address_id" IN (...)
-db:SELECT ... FROM "representatives_mandate" LEFT OUTER JOIN "representatives_group" ON ( "representatives_mandate"."group_id" = "representatives_group"."id" ) LEFT OUTER JOIN "representatives_chamber" ON ( "representatives_group"."chamber_id" = "representatives_chamber"."id" ) LEFT OUTER JOIN "representatives_constituency" ON ( "representatives_mandate"."constituency_id" = "representatives_constituency"."id" ) LEFT OUTER JOIN "representatives_country" ON ( "representatives_constituency"."country_id" = "representatives_country"."id" ) WHERE "representatives_mandate"."representative_id" IN (#) ORDER BY ...
-db:SELECT ... FROM "representatives_email" WHERE "representatives_email"."representative_id" IN (#)
-db:SELECT ... FROM "representatives_website" WHERE ("representatives_website"."kind" IN (...) AND "representatives_website"."representative_id" IN (#)) ORDER BY "representatives_website"."id" ASC
-db:SELECT ... FROM "representatives_website" WHERE ("representatives_website"."kind" IN (...) AND "representatives_website"."representative_id" IN (#)) ORDER BY "representatives_website"."id" ASC
-db:SELECT ... FROM "representatives_website" WHERE (NOT ("representatives_website"."kind" IN (...)) AND NOT ("representatives_website"."kind" IN (...)) AND "representatives_website"."representative_id" IN (#)) ORDER BY "representatives_website"."id" ASC
-db:SELECT ... FROM "representatives_address" INNER JOIN "representatives_country" ON ( "representatives_address"."country_id" = "representatives_country"."id" ) WHERE "representatives_address"."representative_id" IN (#) ORDER BY "representatives_address"."id" ASC
-db:SELECT ... FROM "representatives_phone" WHERE "representatives_phone"."address_id" IN (...)
-db:SELECT ... FROM "representatives_phone" WHERE "representatives_phone"."address_id" IN (...)
-db:SELECT ... FROM "memopol_scores_themescore" WHERE "memopol_scores_themescore"."representative_id" IN (#)
-db:SELECT ... FROM "memopol_themes_theme" WHERE "memopol_themes_theme"."id" IN (...)
-db:SELECT ... FROM "representatives_positions_position" INNER JOIN "representatives_positions_position_representatives" ON ( "representatives_positions_position"."id" = "representatives_positions_position_representatives"."position_id" ) WHERE ("representatives_positions_position"."published" = true AND "representatives_positions_position_representatives"."representative_id" IN (#)) ORDER BY ...
-db:SELECT ... FROM "memopol_themes_theme" INNER JOIN "memopol_themes_theme_positions" ON ( "memopol_themes_theme"."id" = "memopol_themes_theme_positions"."theme_id" ) WHERE "memopol_themes_theme_positions"."position_id" IN (...)
-db:SELECT ... FROM "representatives_representative" INNER JOIN "representatives_positions_position_representatives" ON ( "representatives_representative"."id" = "representatives_positions_position_representatives"."representative_id" ) WHERE "representatives_positions_position_representatives"."position_id" IN (...) ORDER BY ...
-db:SELECT ... FROM "memopol_scores_positionscore" WHERE "memopol_scores_positionscore"."position_id" IN (...)
-db:SELECT ... FROM "memopol_settings_setting" WHERE "memopol_settings_setting"."key" IN (...)
-cache|get:template.cache.search_form.#
-cache|set:template.cache.search_form.#
-cache|get:template.cache.position_form.#
-db:SELECT ... FROM "representatives_representative" WHERE "representatives_representative"."id" IN (#) ORDER BY ...
-db:SELECT ... FROM "representatives_mandate" LEFT OUTER JOIN "representatives_group" ON ( "representatives_mandate"."group_id" = "representatives_group"."id" ) LEFT OUTER JOIN "representatives_chamber" ON ( "representatives_group"."chamber_id" = "representatives_chamber"."id" ) LEFT OUTER JOIN "representatives_constituency" ON ( "representatives_mandate"."constituency_id" = "representatives_constituency"."id" ) LEFT OUTER JOIN "representatives_country" ON ( "representatives_constituency"."country_id" = "representatives_country"."id" ) WHERE "representatives_mandate"."representative_id" IN (#) ORDER BY ...
-db:SELECT ... FROM "representatives_email" WHERE "representatives_email"."representative_id" IN (#)
-db:SELECT ... FROM "representatives_website" WHERE ("representatives_website"."kind" IN (...) AND "representatives_website"."representative_id" IN (#)) ORDER BY "representatives_website"."id" ASC
-db:SELECT ... FROM "representatives_website" WHERE ("representatives_website"."kind" IN (...) AND "representatives_website"."representative_id" IN (#)) ORDER BY "representatives_website"."id" ASC
-db:SELECT ... FROM "representatives_website" WHERE (NOT ("representatives_website"."kind" IN (...)) AND NOT ("representatives_website"."kind" IN (...)) AND "representatives_website"."representative_id" IN (#)) ORDER BY "representatives_website"."id" ASC
-db:SELECT ... FROM "representatives_address" INNER JOIN "representatives_country" ON ( "representatives_address"."country_id" = "representatives_country"."id" ) WHERE "representatives_address"."representative_id" IN (#) ORDER BY "representatives_address"."id" ASC
-db:SELECT ... FROM "representatives_phone" WHERE "representatives_phone"."address_id" IN (...)
-db:SELECT ... FROM "representatives_phone" WHERE "representatives_phone"."address_id" IN (...)
-db:SELECT ... FROM "memopol_themes_theme" INNER JOIN "memopol_themes_theme_dossiers" ON ( "memopol_themes_theme"."id" = "memopol_themes_theme_dossiers"."theme_id" ) WHERE "memopol_themes_theme_dossiers"."dossier_id" IN (...)
-db:SELECT ... FROM "memopol_themes_theme" INNER JOIN "memopol_themes_theme_dossiers" ON ( "memopol_themes_theme"."id" = "memopol_themes_theme_dossiers"."theme_id" ) WHERE "memopol_themes_theme_dossiers"."dossier_id" IN (...)
-db:SELECT ... FROM "memopol_scores_dossierscore" WHERE "memopol_scores_dossierscore"."representative_id" IN (#)
-db:SELECT ... FROM "memopol_settings_setting" WHERE "memopol_settings_setting"."key" IN (...)
-cache|get:template.cache.search_form.#
-cache|set:template.cache.search_form.#
-cache|get:template.cache.position_form.#
-db:SELECT ... FROM "representatives_representative" WHERE "representatives_representative"."id" IN (#) ORDER BY ...
-db:SELECT ... FROM "representatives_votes_dossier" LEFT OUTER JOIN "representatives_votes_document" ON ( "representatives_votes_dossier"."id" = "representatives_votes_document"."dossier_id" ) LEFT OUTER JOIN "representatives_votes_proposal" ON ( "representatives_votes_dossier"."id" = "representatives_votes_proposal"."dossier_id" ) LEFT OUTER JOIN "representatives_recommendations_recommendation" ON ( "representatives_votes_proposal"."id" = "representatives_recommendations_recommendation"."proposal_id" ) INNER JOIN "memopol_themes_theme_dossiers" ON ( "representatives_votes_dossier"."id" = "memopol_themes_theme_dossiers"."dossier_id" ) WHERE "memopol_themes_theme_dossiers"."theme_id" IN (#) GROUP BY ("memopol_themes_theme_dossiers"."theme_id"), ... ORDER BY "representatives_votes_dossier"."id" DESC
-db:SELECT ... FROM "memopol_themes_theme" INNER JOIN "memopol_themes_theme_dossiers" ON ( "memopol_themes_theme"."id" = "memopol_themes_theme_dossiers"."theme_id" ) WHERE "memopol_themes_theme_dossiers"."dossier_id" IN (...)
-db:SELECT ... FROM "representatives_votes_document" WHERE "representatives_votes_document"."dossier_id" IN (...)
-db:SELECT ... FROM "representatives_chamber" WHERE "representatives_chamber"."id" IN (...)
-db:SELECT ... FROM "memopol_settings_setting" WHERE "memopol_settings_setting"."key" IN (...)
-cache|get:template.cache.search_form.#
-cache|set:template.cache.search_form.#
-cache|get:template.cache.position_form.#
-db:SELECT ... FROM "memopol_themes_theme" WHERE "memopol_themes_theme"."id" IN (#)
-db:SELECT COUNT(*) FROM (SELECT ... FROM "memopol_themes_theme" LEFT OUTER JOIN "memopol_themes_theme_proposals" ON ( "memopol_themes_theme"."id" = "memopol_themes_theme_proposals"."theme_id" ) LEFT OUTER JOIN "memopol_themes_themelink" ON ( "memopol_themes_theme"."id" = "memopol_themes_themelink"."theme_id" ) LEFT OUTER JOIN "memopol_themes_theme_dossiers" ON ( "memopol_themes_theme"."id" = "memopol_themes_theme_dossiers"."theme_id" ) LEFT OUTER JOIN "memopol_themes_theme_positions" ON ( "memopol_themes_theme"."id" = "memopol_themes_theme_positions"."theme_id" ) GROUP BY "memopol_themes_theme"."id") subquery