 
         {listing, error, file_map} = @props.redux.getProjectStore(@props.project_id)?.get_displayed_listing()
 
-        file_listing_page_size = @props.other_settings?.get('page_size') ? 50
+        file_listing_page_size= @file_listing_page_size()
         if listing?
             {start_index, end_index} = pager_range(file_listing_page_size, @props.page_number)
             visible_listing = listing[start_index...end_index]

            @setState(select_entire_directory : 'hidden')

    check_all_click_handler : ->
        if @props.checked_files.size is 0
            files_on_page = @props.listing[@props.page_size * @props.page_number...@props.page_size * (@props.page_number + 1)]
            @props.actions.set_file_list_checked(misc.path_to_file(@props.current_path, file.name) for file in files_on_page)


                checked_files = {@props.checked_files}
                file_action   = {@props.file_action}
                page_number   = {@props.page_number}
                page_size     = {@file_listing_page_size()}
                public_view   = {public_view}
                current_path  = {@props.current_path}
                listing       = {listing}
