Update detail_realisation.js

fix hasPrevious() bug (pagination displayed)