Bounties cancelled by moderators

1

Please login or register to vote for this query.

(click on this box to dismiss)

Related to: https://meta.stackexchange.com/questions/347656/when-a-bounty-is-returned-by-moderator-is-this-shown-in-the-revision-history-t/347657#347657

History of Science and Math

Q&A for people interested in the history and origins of science and mathematics

---based on Glorfindel's query: https://data.stackexchange.com/mathoverflow/query/1236737/cancelled-bounties
---I have added links to the revision history and the timeline
---there might be some false positives - probably in cases if two user accounts were merged: 
---see also: https://meta.stackexchange.com/q/347671
SELECT pn.PostId AS [Post Link],
  pnt.Name AS 'Bounty reason',
  pn.DeletionDate AS 'Bounty cancelled',
  revisions = 'site://posts/' + CAST(pn.PostId AS varchar)+'/revisions',
  timeline = 'site://posts/' + CAST(pn.PostId AS varchar)+'/timeline'
  FROM PostNotices AS pn
  INNER JOIN PostNoticeTypes AS pnt
    ON pn.PostNoticeTypeId = pnt.Id
  WHERE pnt.ClassId = 2 -- bounty
    AND pn.OwnerUserId != pn.DeletionUserId
    AND pn.DeletionUserId != -1 -- Community
  ORDER BY pn.DeletionDate DESC

Enter Parameters

Options:
Switch to meta site
loading Hold tight while we fetch your results