Skip to content

Commit

Permalink
Merge pull request #174 from hathitrust/fix_crown_rights_prediction
Browse files Browse the repository at this point in the history
Fix parameters to predictRights to bring project in line with Commonw…
  • Loading branch information
moseshll authored Apr 22, 2024
2 parents c7db0cc + 19c6d65 commit 2685664
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cgi/partial/crownCopyrightForm.tt
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,11 @@
<a href="[% viaf %]" target="_blank"><span class="red">VIAF Corporate</span><a>
</td>
</tr>
<tr>
<td colspan="2">
<span id="rights-description"></span>
</td>
</tr>
</table>

[% rights = crms.Rights(htid, 1) %]
Expand Down Expand Up @@ -213,7 +218,7 @@ function dateEntry() {
if (und && sel === und) {
return;
}
predictRights('[% htid %]', year, 1, 1);
predictRights('[% htid %]', year, '', 1, 1);
}

function popReviewInfo(user)
Expand Down

0 comments on commit 2685664

Please sign in to comment.