Trump got the ban on his temporary ban lifted (but only as to those with a link to persons or intitutions in the US-- schools, company hiring, family or relationships), but that temporary ban will run out soon anyway so Trump never really got the ban he wanted given how long his failure to draft properly stopped his temporary ban from going into effect. Trump's temporary ban expires before the SCOTUS rules in the fall so Trump's case is moot (prediction: Trump will revise his ban by the time the court rules so it passes muster-- he will at least need to extend it since it will expire by the ruling in the Fall). Trump wasted time and legal resources because he drafted a bill affecting countries and not people from any country who could be terrorists like Obama did. Yes, Trump used Obama's list of 7 countries (then cut it to 6), but Obama used the list to vett everyone for travel to the 7 countries no matter where they came from.