Skip to content

Update: Dynamic Value for Maximum Radius Distance#1730

Merged
vairafiq merged 3 commits intosovware:alphafrom
MahfuzulAlam:update/search-radius
Apr 22, 2024
Merged

Update: Dynamic Value for Maximum Radius Distance#1730
vairafiq merged 3 commits intosovware:alphafrom
MahfuzulAlam:update/search-radius

Conversation

@MahfuzulAlam
Copy link
Copy Markdown
Collaborator

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Security fix
  • Improvement
  • New Feature
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Text changes
  • Other... Please describe:

Description

Added the following option so users can update the maximum radius distance on the search form.
https://prnt.sc/sD3BuoCoC2Ig

Addred two filter hooks:

  1. directorist_search_max_radius_distance : to manipulate the maximum radius distance value from outside
  2. directorist_search_default_radius_distance : to manipulate default radius distance

Any linked issues

Fixes #

Checklist

@vairafiq vairafiq added this to the v7.9.1 milestone Apr 18, 2024
Copy link
Copy Markdown
Contributor

@vairafiq vairafiq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@vairafiq vairafiq merged commit b89dad0 into sovware:alpha Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants