"View query in Data Explorer" option when sending data explorer queries via PM is broken for Discourse subfolder installs

When you use Discourse Automation to send a data query as a PM, there is a link at the bottom of the query to “View query in Data Explorer”. Unfortunately this link doesn’t take into account a subfolder installation, and fails to load properly.

2 Likes

Thanks for the report, we’ll get to this soon.

2 Likes

Hi Jordan, thank you for reporting this. I’ve updated the link to include the full url.

Can you confirm that this corrects the issue?

Updated with the following commit:
https://github.com/discourse/discourse-data-explorer/commit/e4f8d3924a18b303c2bb7da9472cf0c060060e4e

1 Like

I’ve tried running a new automation to PM myself a data explorer query.

Unfortunately the link at the bottom still doesn’t take the sub folder into account.

2 Likes

I’ve deployed the latest changes now which should correct this.

Any new PM’s that are sent via the automation script should include the full url.

Can you check again and confirm if this is now working correctly?

It works :slight_smile:

1 Like

Ok great, glad to hear that this fixes the issue :+1:

1 Like