I'm having a weird problem and I hope someone can help.
I created a custom search result template, I added a search result web part, then selected it from the "Item Display Template" dropdown and applied it. The search results show properly up to this point, but when I stop editing the page the template reverts to the previous one. Any ideas why this is happening? I first tested it on O365 SharePoint and is working and staying but when I try it on our client server (on premises sharepoint 2013) it does what I mentioned before, it just goes away. Any help will be greatly appreciated.