roadmap
roadmap copied to clipboard
Fix Paginating, Sorting, and Searching Issues Within "Research Outputs" Tab
Fixes the "Create paginable/research_outputs_controller.rb TODO" in https://github.com/DMPRoadmap/roadmap/issues/3464
Changes proposed in this PR:
- Add
scope :searchtoResearchOutputmodel: 8ecced57b5dda5e5b9341b14adf847ae3acaf870- Search query is performed by
research_outputs.title(case-insensitive)
- Search query is performed by
- Create
app/controllers/paginable/research_outputs_controller.rb301231c6ed27d783122e007c1f14e3af89e18458- This new controller fixes the following features on the
/plans/:plan_id/research_outputspage:- The clickable pagination options (e.g. View all,1,2,Next,Last)
- The search box (for
research_outputs.titlematches) - The clickable sorting arrows
- This new controller fixes the following features on the