Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Volunteer opportunities page search criteria issues/broken #544

Open
Brusella opened this issue Jun 15, 2020 · 3 comments
Open

Volunteer opportunities page search criteria issues/broken #544

Brusella opened this issue Jun 15, 2020 · 3 comments
Labels

Comments

@Brusella
Copy link

I'm having a number of issues with the Volunteer opportunities page not returning results when selecting a 'Role' or dates in the search options. Wondering if there is an issue with javascript or Ajax running on my site but unsure of how to debug or troubleshoot.

Also, the 'With' dropdown lists all organizations in our database, including email addresses. This info shouldn't be publicly viewable but i'm not sure how to turn off this function. We will only ever have volunteer opportunities assigned to our organization 'Island Nature Trust', so there is no need to display all entities in our database.

I'm running CiviVolunteer version 4.7.31-2.3.1
CiviCRM 5.25.0
Angular Profiles 4.7.31-1.1.2
Wordpress 5.4.2

https://www.islandnaturetrust.ca/civicrm/vol/#/volunteer/opportunities?role_id%5B%5D=&role_id%5B%5D=string:2

I've researched online for similar issues but have not found a solution.

Some help or guidance would be appreciated.

@ginkgomzd
Copy link
Contributor

Hi Brusella, thanks for reporting these issues.

The contacts that are visible in your search form ("With") are going to be determined by your general CiviCRM access permissions, this is not controlled within the CiviVolunteer settings.

I think there are some bugs with the Role and Date, but we have not gotten a good bug report to be able to troubleshoot it yet. Can you try to access the javascript console in your browser's developer tools and see if there are any error messages? I am pretty sure that specifying a date will not return results for opportunities that are "anytime" (i.e. have no dates).

Cheers

@jmcclelland
Copy link
Contributor

I'm not sure about the problems with Role, but I did find (and fix) a problem with dates. The problem is that the end date is not inclusive. If your end date is 2020-11-19, it will not find opportunities on 2020-11-19.

@jmcclelland
Copy link
Contributor

Also - I can understand the confusion with the "With beficiary" field. If your volunteers are logged in, it's tricky to get the right permissions that only show them the relevant organizations. If you are not logged in, then you don't see anything and you can't even type in an organization. Since the pages I'm working on are public, I've simply hidden the field via css. It might be nice to have this drop down pre-populated with just the organizations that are coded as beneficiaries (presumably their names should be public).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants