Problem/Motivation
The entity_print_views submodule isn't print results of a view w.r.t to pager instead of printing only the results displaying on the first page. even the pager is also not in sync.
Steps to reproduce
- Create a view that produces more than one result (say, 5 results.)
- Configure the view to use a pager displaying fewer rows than the total results from Step 1 above (say, 5 results)
- Add the Global 'Print' area to the header or footer
- Render the view, click on the 'View PDF' link and observe that the when you click on pager 2 or 3 (so on) always print the content of page 1 , content not change w.r.t to page
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | Afterpatch_Test _ D10 (1).mp4 | 1.7 MB | kanchan bhogade |
| #4 | Test _ D10_issue.mp4 | 1.3 MB | kanchan bhogade |
| #3 | After_adding_patch.gif | 1.15 MB | pooja_sharma |
| print_view_not_work_per_pager.gif | 1.2 MB | pooja_sharma |
Issue fork entity_print-3424654
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
pooja_sharma commentedComment #4
kanchan bhogade commentedHi
I've tested MR !53 on Drupal version 10
The patch applied successfully...
Testing Steps:
Test Result:
Now if click on the 'View PDF' link of any page, can print the content w.r.t. particular page like if click on 2nd page "View PDF" print the 2nd page content
Added videos for reference
Keeping in need review for the code verification
Comment #5
carolpettirossi commentedI applied the MR and it worked perfectly on my case. Moving this to RTBC. Hopefully this can be pushed to the next release.
Comment #6
tame4tex commentedAdded a comment to the MR as I don't think we should be adding an empty
pageparameter if we don't need to.Comment #7
pooja_sharma commentedThanks for suggestion, I have addressed the requested change - no need to add page parameter if empty
Please review , moving NR.
Comment #8
tame4tex commentedThe MR looks good to me and is working well across a number of our sites. Thanks!
Comment #12
jannakha commentedmerged