Currently, list of donations is filtered by the cause area, but the similarity computation is done over all cause areas rather than just criminal justice reform.
incremental version, run each time a donor's donations are updated by calling the procedure with the donor name (example call at the bottom of the file): similarity-incremental-cause-area.sql
See 191d2b21077c97c02fd86e5dd19008fa114595e8 for the change in PHP.
Example of where this is needed: https://donations.vipulnaik.com/donor.php?donor=Open+Philanthropy+Project&cause_area_filter=Criminal+justice+reform#donorSimilarDonors
Currently, list of donations is filtered by the cause area, but the similarity computation is done over all cause areas rather than just criminal justice reform.