Skip to content

Commit

Permalink
Merge pull request #1527 from open-data/open-2475-hospitality-search-…
Browse files Browse the repository at this point in the history
…makefile

OPEN-2475: Add Django Search to Hospitality PD in Makefile
  • Loading branch information
thriuin authored Nov 1, 2024
2 parents 7986755 + a52e69b commit 9c50175
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions bin/pd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,8 @@ rebuild-hospitalityq: $(workdir)/filtered/hospitalityq.csv $(workdir)/filtered/h
@$(echo_date) Rebuilding Hospitality Expenses...
$(ckan_command) -c $(portal_ini) pd rebuild hospitalityq --lenient --has-nil \
-f "$(workdir)/filtered/hospitalityq.csv" -f "$(workdir)/filtered/hospitalityq-nil.csv"
@$(oc_search) import_data_csv --csv "$(workdir)/filtered/hospitalityq.csv" --search hospitalityq --quiet
@$(oc_search) import_data_csv --csv "$(workdir)/filtered/hospitalityq-nil.csv" --search hospitalityq --quiet --nothing_to_report

$(workdir)/hospitalityq.csv:
$(ckan_command) -c $(registry_ini) $(combine) hospitalityq -d $(workdir)
Expand Down
1 change: 1 addition & 0 deletions changes/1527.changes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Adding the Django Search to the PD Makefile for the Hospitalityq type.

0 comments on commit 9c50175

Please sign in to comment.