Skip to content

Commit

Permalink
Correct wrong method number in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Jun 9, 2023
1 parent 1205d3a commit 7091f4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/spatial-search.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ processing on the geometries before indexing.

In this case you need to implement the ``before_dataset_index()`` method of the `IPackageController <https://docs.ckan.org/en/latest/extensions/plugin-interfaces.html#ckan.plugins.interfaces.IPackageController.before_dataset_index>`_ interface::

def before_dataset_search(self, dataset_dict):
def before_dataset_index(self, dataset_dict):

# When using the default `solr-bbox` backend (based on bounding boxes), you need to
# include the following fields in the returned dataset_dict:
Expand Down

0 comments on commit 7091f4b

Please sign in to comment.