Skip to content

Commit

Permalink
Updates API version, changes "Standard" labels
Browse files Browse the repository at this point in the history
  • Loading branch information
gdbarnes committed Nov 14, 2024
1 parent 02d716c commit c8fbcc1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion orp/core/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class RegulationSearchForm(forms.Form):
choices=[
("legislation", "Legislation"),
("guidance", "Guidance"),
("standard", "British Standard"),
("standard", "Standards"),
],
# widget=forms.CheckboxSelectMultiple(
# attrs={
Expand Down
2 changes: 1 addition & 1 deletion orp/orp_search/templates/orp.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ <h2 class="govuk-fieldset__heading">
<input class="govuk-checkboxes__input" id="document_type-3" name="document_type" type="checkbox"
value="standard" {% if 'standard' in form.document_type.value %}checked{% endif %}>
<label class="govuk-label govuk-checkboxes__label" for="document_type-3">
British Standards
Standards
</label>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions react_front_end/src/utils/constants.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const DATA_API_URL = "https://data.api.trade.gov.uk/v1/"
const DATASET = "orp-regulations"
const VERSION = "v1.0.0" // latest causes a redirect which adds latency
const VERSION = "v1.0.1" // latest causes a redirect which adds latency
const FORMAT = "json"
// export const S3_QUERY = buildQuery(filters)
// export const ENCODED_S3_QUERY = encodeURI(S3_QUERY)
Expand All @@ -20,7 +20,7 @@ export const DOCUMENT_TYPES = [
},
{
name: "Standards",
label: "British Standards",
label: "Standards",
},
]

Expand Down

0 comments on commit c8fbcc1

Please sign in to comment.