Skip to content

Commit

Permalink
Editing details so that iptrecordid shows up in index after change to…
Browse files Browse the repository at this point in the history
… index field names. The following were affected and will have to be accommodated in the search page: iptrecordid, iptlicense, recrank, hasmedia, hastissue, isfossil, vntype.
  • Loading branch information
tucotuco committed Jul 12, 2016
1 parent 3e4f71a commit 774b246
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion www/js/app/models/detail.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ define([
if (gbifdatasetid) indexfields['gbifdatasetid']=this.get('gbifdatasetid');
if (keyname) indexfields['keyname']=this.get('keyname');
if (occurrenceid) indexfields['occurrenceid']=this.get('occurrenceid');
if (id) indexfields['id']=this.get('id');
if (iptrecordid) indexfields['iptrecordid']=this.get('iptrecordid');
if (networks) indexfields['networks']=this.get('networks');
if (rank) indexfields['rank']=this.get('rank');
if (haslicense) indexfields['haslicense']=this.get('haslicense');
Expand Down
2 changes: 1 addition & 1 deletion www/js/app/views/detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ <h1><% var occid = this.model.getOccIdentifier() %> <%= occid %> <small><%= this
<tr><td>GBIF Dataset ID</td><td id="gbifdatasetid"></td></tr>
<tr><td>Keyname</td><td id="keyname"></td></tr>
<tr><td>Occurrence ID</td><td id="occurrenceid"></td></tr>
<tr><td>IPT Record ID</td><td id="id"></td></tr>
<tr><td>IPT Record ID</td><td id="iptrecordid"></td></tr>
<tr><td>Networks</td><td id="networks"></td></tr>
<tr><td>Rank</td><td id="rank"></td></tr>
<tr><td>Has license</td><td id="haslicense"></td></tr>
Expand Down
2 changes: 1 addition & 1 deletion www/js/app/views/detail.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ define([
if (issues.gbifdatasetid) { this.$('#gbifdatasetid').text(issues.gbifdatasetid.toString()); }
if (issues.keyname) { this.$('#keyname').text(issues.keyname.toString()); }
if (issues.occurrenceid) { this.$('#occurrenceid').text(issues.occurrenceid.toString()); }
if (issues.id) { this.$('#id').text(issues.id.toString()); }
if (issues.iptrecordid) { this.$('#iptrecordid').text(issues.iptrecordid.toString()); }
if (issues.networks) { this.$('#networks').text(issues.networks.toString()); }
if (issues.rank) { this.$('#rank').text(issues.rank.toString()); }
if (issues.haslicense) { this.$('#haslicense').text(issues.haslicense.toString()); }
Expand Down
2 changes: 1 addition & 1 deletion www/js/app/views/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<footer class="footer">
<div class="container">
<p>
VertNet &copy; webapp version 2016-07-11T18:00+02:00 |
VertNet &copy; webapp version 2016-07-12T12:03+02:00 |
<a href="http://nsf.gov" target="_blank"><img src="http://vertnet.org/images/logos/nsf_logo.png" height="20%" width="20%"></a>
</p>
</div>
Expand Down

0 comments on commit 774b246

Please sign in to comment.