tigeorgia / shenmartav

Website for shenmartav.ge
GNU General Public License v2.0
3 stars 9 forks source link

Fix draft law initiators/authors #106

Closed EkaR closed 12 years ago

EkaR commented 12 years ago

Several draft laws that have ministries as initiators or authors, only in Georgian, link to a certain Adjara SC profile:

http://shenmartav.ge/ka/what/draftlaw/07-2482-changes-to-certain-legislative-acts-of-georgia/ http://shenmartav.ge/ka/what/draftlaw/07-2484-changes-to-the-law-of-georgia-on-healthcare/ http://shenmartav.ge/ka/what/draftlaw/07-3650-changes-to-the-law-of-georgia-on-military-obligations-and-military-service/ http://shenmartav.ge/ka/what/draftlaw/07-2485-changes-to-the-2012-state-budget-of-georgia/

The linked profile is: http://shenmartav.ge/ka/who/representative/164/asmat-diasamidze/

sebastiantransparency commented 12 years ago

is there something in these ministries that contains the english or georgian versoin of 'asmat' or 'diasamidze'?

EkaR commented 12 years ago

No, there isn't actually, and we saw that nowhere in her biography is mentioned "ministry", that's the mystery...

sebastiantransparency commented 12 years ago

squished, i reckon, and also improved the finding process.

this dynamic linkage on every page load is quite expensive though and i advise to extend the draftlaw model to include a field 'representatives' which links to the representatives involved in that law. the linkage can be established on import or when the draftlaw is being edited. it would also give us automatically the possibility to link to draftlaws initiated/authored by a representative in his/her profile.

ddohler commented 12 years ago

That is an excellent idea and one that I was hoping to do eventually anyway. I'll open an issue.