Try putting it here.
this.setInputParam('partner', $(".js-partner-farmers-pages-container").attr('data-partnerID'), true);