What is meta? ×
Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 129 Stack Exchange communities.

For example, this question on Programmers was migrated in from Stack Overflow and subsequently closed. Now it says [migrated] in the title when it should still say [closed].

share|improve this question
    
I'm guessing the correct title should be [migrated, closed]. Good catch though. –  Khez Apr 10 '11 at 5:46
1  
@Khez An open migrated question doesn't show anything in the title on the destination site (which makes sense -- it's just another question far as that site is concerned), so I think just [closed] would be fine. I'm guessing the new feature doesn't identify if the post is on the destination site and just looks for closed migrated questions. –  Anna Lear Apr 10 '11 at 16:36
1  
Here's another example - the original is on SO, was pushed to SU where it was closed but is marked [migrated]. –  DMA57361 Apr 10 '11 at 17:14

2 Answers 2

up vote 7 down vote accepted

Changed from

if (post.IsClosed)
   if (post.IsMigrated)

to

if (post.IsClosed)
   if (post.IsMigrated && post.ClosedDate <= post.MigrationDate)
share|improve this answer

It happens (I assume) because the site uses the MigrationDate field to decide whether to show [migrated] or [closed], but MigrationDate is used both for the date the post was migrated to another site, as well as the date the post was migrated from another site (so it can show the "migrated from X site Y days ago" box)

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .