Skip to content

Commit

Permalink
CONTENTBOX-1365 #resolve
Browse files Browse the repository at this point in the history
Paginated results in CBAdmin for Page Children returns non-parented results for page 2
  • Loading branch information
lmajano committed Mar 17, 2022
1 parent e5dd6ee commit cae8df8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1028,10 +1028,7 @@ const contentListHelper = ( () => {
$searchField.keyup(
_.debounce(
function(){
var $this = $( this );
var clearIt = ( $this.val().length > 0 ? false : true );
// ajax search
contentLoad( { search: $this.val() } );
contentLoad( { search: $( this ).val() } );
},
300
)
Expand Down Expand Up @@ -1073,7 +1070,7 @@ const contentListHelper = ( () => {
contentLoad( {
search : $searchField.val(),
page : page,
parent : $parentID,
parent : History.getState().data.parent || $parentID,
fAuthors : $( "#fAuthors" ).val(),
fCategories : $( "#fCategories" ).val(),
fStatus : $( "#fStatus" ).val(),
Expand Down Expand Up @@ -1222,6 +1219,7 @@ const contentListHelper = ( () => {
};

} )();

/**
*********************************************************************************
* Copyright since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp
Expand Down
Loading

0 comments on commit cae8df8

Please sign in to comment.