unepwcmc/SAPI — pull request #75 by agnessa (2013-09-12 22:38:01+00:00)
Title: Fixes to cms legislation

In order to be able to separate out the cascading legislation for CMS, significant changes were made to the listing_changes_mview calculation procedures. They are now performed per designation, which allowed to use less strict rules for CMS cascading. The current listing calculation has also been fixed.

Changes to cascading legislation affect the csv download and Species+ listings section. The current listing calculation affects only the csv (the listing column).

I am still not a 100% sure the cascading & current listing are correct though. CMS does not provide an output that could be easily compared with to verify correctness. The output I was mostly using is this one:

http://www.cms.int/documents/appendix/additions_table1.pdf