Notification number not showing real count

Does notification counter has limit to max 100? My outstanding invoices should be over 1000…but its only showing 100

image

ok lots of code instances of that limit like these -

frappe@ubuntu:~$ find . -name ‘*.js’ | xargs grep ‘99+’

./frappe-bench/apps/frappe/frappe/core/page/desktop/desktop.js: text = ‘99+’;
./frappe-bench/apps/frappe/frappe/public/js/frappe/ui/toolbar/notifications.js: .html(this.total > 99 ? ‘99+’ : this.total)
./frappe-bench/apps/frappe/frappe/public/js/frappe/desk.js: .removeClass(“hide”).html(count > 99 ? “99+” : count);
./frappe-bench/apps/frappe/frappe/public/js/frappe/form/dashboard.js: .html((open_count > 99) ? ‘99+’ : open_count);
./frappe-bench/apps/frappe/frappe/public/js/frappe/form/dashboard.js: .html((count > 99) ? ‘99+’ : count);
./frappe-bench/sites/assets/js/desk.min.js: $(“.navbar-new-comments”).html(this.total > 99 ? ‘99+’ : this.total).toggleClass(“navbar-new-comments-true”, this.total ? true : false).parent().toggleClass(“disabled”, this.total ? false : true);
./frappe-bench/sites/assets/js/desk.min.js: $(‘.open-notification.global[data-doctype="’ + doctype + ‘"]’).removeClass(“hide”).html(count > 99 ? “99+” : count);
./frappe-bench/sites/assets/js/form.min.js: $link.find(‘.open-notification’).removeClass(‘hidden’).html(open_count > 99 ? ‘99+’ : open_count);
./frappe-bench/sites/assets/js/form.min.js: $link.find(‘.count’).removeClass(‘hidden’).html(count > 99 ? ‘99+’ : count);

I am not sure if this is the one in question?

https://github.com/frappe/frappe/blob/develop/frappe/public/js/frappe/ui/toolbar/notifications.js#L45

1 Like