diff --git a/coinmanager/coinc/static/coinc/main.js b/coinmanager/coinc/static/coinc/main.js index 876479f..60f089c 100644 --- a/coinmanager/coinc/static/coinc/main.js +++ b/coinmanager/coinc/static/coinc/main.js @@ -126,7 +126,7 @@ function render_response(data, td, set) { td_class = 'noexist'; } else if (set['buy_only']) { td_class = 'buy_only'; - } else if (set['circulation'] && set['circulation'] < 1500000 && set['circulation'] != 0) { + } else if (set['circulation'] && set['circulation'] <= 1500000 && set['circulation'] != 0) { td_class = 'rare'; } else if ([10, 20, 50].includes(value)) { td_class = 'brass'; diff --git a/coinmanager/coinc/views.py b/coinmanager/coinc/views.py index cc44ed2..9e354ff 100644 --- a/coinmanager/coinc/views.py +++ b/coinmanager/coinc/views.py @@ -162,7 +162,7 @@ def show_coin(country, year, stamp, value): td_class = 'noexist' elif coin.buy_only: td_class = 'buy_only' - elif coin.circulation and coin.circulation < 1500000: + elif coin.circulation and coin.circulation <= 1500000: td_class = 'rare' elif coin.value in [10, 20, 50]: td_class = 'brass'