chop-dbhi / cilantro

Official client for Harvest (http://harvest.research.chop.edu)
http://cilantro.harvest.io
Other
28 stars 8 forks source link

Update count on render as well as context sync #775

Closed naegelyd closed 9 years ago

naegelyd commented 9 years ago

@bruth

Fixes https://github.com/chop-dbhi/cilantro/issues/774.

This corrects a bug where the result count was not shown when the results pages was not the first page navigated to. This was caused by the removal of the onRender count updating in https://github.com/chop-dbhi/cilantro/pull/772. Previously, the count was updated on render. This PR updates the ResultCount class to restore the update count on render behavior.

Signed-off-by: Don Naegely naegelyd@gmail.com