I have a SharePoint list, with the below JavaScript insert in a content editor below the list. The script opens a SharePoint 2013 List Items Directly into Edit View.That part works right.
The problem I'm having is when I using the multi-select filter.
I select multiple items, I click on an item to open it (after I apply the filter). After I open it and click closed, it goes back to the page but the multi-select filter options are clear out and it shows the whole list. But the selection are still
checked.
Is there a way to maintain the values until they are manually cleared out?
<script type="text/javascript"
src="http://code.jquery.com/jquery-1.10.1.min.js"></script>
<script type="text/javascript">
$(function() {
// Change all display form links to edit form links
$('.ms-vb a[href*="listform.aspx"]').each(function(){
var link = $(this).attr('href');
link = link.replace("PageType=4",
"PageType=6");
$(this).attr('href', link);
});
});
</script