Skip to content

Commit

Permalink
Add missing fields to list of search parameters
Browse files Browse the repository at this point in the history
Said missing fields being Series, Notes, and Original Description

(Also fixed an embarrassing bug where the Series field wouldn't show up in the entry viewer)
  • Loading branch information
WumboSpasm committed Apr 15, 2024
1 parent 271b628 commit b2f4964
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion main.css
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ body {
border-bottom: 0.15rem solid #0002;
}
.search-table td:first-child {
width: 45%;
width: 46%;
}
.search-table td:last-child {
width: auto;
Expand Down
15 changes: 15 additions & 0 deletions search/fields.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
"displayName": "Alternate Title",
"values": []
},
{
"name": "series",
"displayName": "Series",
"values": []
},
{
"name": "developer",
"displayName": "Developer",
Expand Down Expand Up @@ -108,6 +113,16 @@
"displayName": "Language",
"values": []
},
{
"name": "notes",
"displayName": "Notes",
"values": []
},
{
"name": "originalDescription",
"displayName": "Original Description",
"values": []
},
{
"name": "applicationPath",
"displayName": "Application Path",
Expand Down
1 change: 1 addition & 0 deletions search/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ let fpdb = {
metaMap: {
title: "Title",
alternateTitles: "Alternate Titles",
series: "Series",
developer: "Developer",
publisher: "Publisher",
source: "Source",
Expand Down

0 comments on commit b2f4964

Please sign in to comment.