Skip to content

Commit

Permalink
#106 Rm metadata field bookTitle mv to publication
Browse files Browse the repository at this point in the history
  • Loading branch information
blms committed Dec 31, 2020
1 parent db7b7b3 commit 7630d94
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,6 @@ const AdminDocumentTable = ({ document, alerts, setAlerts }) => {
<td>{document.publication}</td>
</tr>
)}
{document.bookTitle && (
<tr>
<th>Book Title</th>
<td>{document.bookTitle}</td>
</tr>
)}
{document.edition && (
<tr>
<th>Edition</th>
Expand Down
4 changes: 0 additions & 4 deletions src/pages/api/document/[id].js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ const handler = async (req, res) => {
contributors,
publisher,
publicationDate,
bookTitle,
edition,
url,
accessed,
Expand Down Expand Up @@ -61,7 +60,6 @@ const handler = async (req, res) => {
contributors,
publisher,
publicationDate,
bookTitle,
edition,
url,
accessed,
Expand Down Expand Up @@ -93,7 +91,6 @@ const handler = async (req, res) => {
contributors,
publisher,
publicationDate,
bookTitle,
edition,
url,
accessed,
Expand All @@ -117,7 +114,6 @@ const handler = async (req, res) => {
contributors,
publisher,
publicationDate,
bookTitle,
edition,
url,
accessed,
Expand Down
2 changes: 0 additions & 2 deletions src/pages/api/document/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ const handler = async (req, res) => {
contributors,
publisher,
publicationDate,
bookTitle,
edition,
url,
accessed,
Expand All @@ -43,7 +42,6 @@ const handler = async (req, res) => {
contributors,
publisher,
publicationDate,
bookTitle,
edition,
url,
accessed,
Expand Down
2 changes: 0 additions & 2 deletions src/pages/api/document/slug/[slug].js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ const handler = async (req, res) => {
contributors,
publisher,
publicationDate,
bookTitle,
edition,
url,
accessed,
Expand Down Expand Up @@ -61,7 +60,6 @@ const handler = async (req, res) => {
contributors,
publisher,
publicationDate,
bookTitle,
edition,
url,
accessed,
Expand Down

0 comments on commit 7630d94

Please sign in to comment.