Skip to content

Commit 3530f26

Browse files
committed
PRESIDECMS-3266 data manager no records shows showing 1 to 0 of 0 records
1 parent 4fe336e commit 3530f26

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

system/assets/js/admin/specific/datamanager/object/listingTable.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,9 @@
288288
fnInfoCallback: function( oSettings, iStart, iEnd, iMax, iTotal, sPre ) {
289289
var info = "";
290290

291-
if ( iTotal == UNKNOWN_TOTAL ) {
291+
if ( iTotal === 0 ) {
292+
info = i18n.translateResource( "cms:datatables.infoEmpty", { data : [objectTitle], defaultValue : "" } );
293+
} else if ( iTotal == UNKNOWN_TOTAL ) {
292294
info = i18n.translateResource( "cms:datatables.infoCountUnknown", { data : [objectTitle], defaultValue : "" } );
293295
} else {
294296
info = i18n.translateResource( "cms:datatables.info", { data : [objectTitle], defaultValue : "" } );

0 commit comments

Comments
 (0)