Diocese of Scranton

Details & Directions button associated with certain Worship Sites on Find-a-Mass page are redirecting to the general Find-a-Parish search page

Assigned to
Ryan Ross, Developer at Diocesan Ryan R.
Notes
Hi Ryan,

I noticed some strange behavior today on our Find-A-Mass search.  If you search by City, you get several results of Worship Sites that are within 10 miles (the default distance).  If you then click on the Details & Directions button for any of the Worship Sites listed, it takes you to the general https://www.dioceseofscranton.org/find-a-parish/.
However, if you (on the same Find A Mass) search by single Worship Site, and then click on the Details & Directions button, you are taken to the specific parish page, for example choose Annunciation Church in the Worship Site list, then click on Details & Directions and you get taken to:
https://www.dioceseofscranton.org/find-a-parish/saint-joseph-the-worker-parish-williamsport/

Can you take a look at correcting this for us?  We want the Details & Directions button for a Worship Site to take us to the specific parish page in all cases.

Thank you!
Connie

Comments & Events

Ryan Ross, Developer at Diocesan
Connie,

I see what you mean.  The queries involving distance very slightly and apparently there's a difference in the "post name" between the show all list and location list (which combines Sites and Parishes).

Simple issue, but tricky to solve.  I'll keep you posted.
Ryan Ross, Developer at Diocesan
Connie,

There was a disconnect in the query when location was present, that was failing to associate the post table (which has the page location information) to the sites/parishes.

This is now resolved.
Ryan Ross, Developer at Diocesan
Ryan Ross completed this to-do.
Connie Wisdo
I knew you’d get it, Ryan! Your middle name should be “Wizard” !

Thanks, and take care!

Connie