Ok, this is posible to fix, but you will have to add an extra javascript file in your ModelAdmin Subclass to add a correct url to the history array.
//MyModelAdmin
function init(){
parent::init();
Requirements::javascript('/myfolder/javascript/MyModelAdmin.js');
}
MyModelAdmin.js
(function($){
$(document).ready(function() {
// Hide goBack and goForward buttons on initial load
if(!this.future || !this.future.length) {
$('#Form_EditForm_action_goForward, #Form_ResultsForm_action_goForward').hide();
}
if(!this.history || this.history.length <= 1) {
$('#Form_EditForm_action_goBack, #Form_ResultsForm_action_goBack').hide();
}
/**
* This will create a url with data from the corresponding SearchForm of the Default DataObject.
* Don't use live to ensure this is run first on initial load.
*/
$('#right #Form_ResultsForm tbody td a:not(.deletelink,.downloadlink)').click(function(){
// Set history on initial load for default managed Model
if(!this.history || this.history.length < 1) {
var action = $('#Form_ResultsForm').attr('action').replace('ResultsForm?','SearchForm');
var form = $('form[action="'+action+'"]');
if(typeof $(form).attr('action') != 'undefined'){
var url = $(form).attr('action') + '?' + $(form).serialize();
$('#ModelAdminPanel').fn('addHistory', url);
}
}
});
})
})(jQuery);
Please let me know if this works for you as well.