Skip to content

Commit

Permalink
EdsSearchForm: initial values for hidden fields are redundant
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnshrmn committed Nov 4, 2021
1 parent 2e3aada commit 82b884a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions TWLight/forms.py
Expand Up @@ -34,14 +34,6 @@ def __init__(self, *args, **kwargs):
lang = "zh-cn"
elif language_code == "zh-hant":
lang = "zh-tw"
self.fields["schemaId"].initial = "search"
self.fields["custid"].initial = "ns253359"
self.fields["groupid"].initial = "main"
self.fields["profid"].initial = "eds"
self.fields["scope"].initial = "site"
self.fields["site"].initial = "eds-live"
self.fields["direct"].initial = "true"
self.fields["authtype"].initial = "url"
self.helper = FormHelper()
self.helper.form_id = "search"
self.helper.form_action = "https://searchbox.ebsco.com/search/"
Expand Down

0 comments on commit 82b884a

Please sign in to comment.