Dolphiq / craft3-plugin-sitemap

A craft 3 plugin that provides an easy way to enable and manage an XML sitemap for search engines like Google
MIT License
28 stars 18 forks source link

Plugin displays deleted sections #32

Closed petehjfd closed 5 years ago

petehjfd commented 5 years ago

The Sitemap settings page displays sections that have been deleted. I'm guessing it should be excluding sections where dateDeleted is not NULL in the database.

petehjfd commented 5 years ago

Further to this, we have found that the sitemap on the frontend is displaying deleted entries. Could it be that the plugin has not been updated to work with Craft's new soft deletes?

Anubarak commented 5 years ago

@petehjfd The plugin wasn't updated for over a year so yes, it doesn't include project config, nor soft deletion. You could use my fork or wait for the developer to merge my pull request to have these features

petehjfd commented 5 years ago

Oh perfect, thanks @Anubarak