-
Notifications
You must be signed in to change notification settings - Fork 451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OPS: Duplicate Galley Views Countes #10082
Labels
Bug:1:Low
A bug that does not have a severe consequence or affects a small number of users.
Milestone
Comments
bozana
added
the
Bug:1:Low
A bug that does not have a severe consequence or affects a small number of users.
label
Jun 18, 2024
bozana
added a commit
to bozana/ops
that referenced
this issue
Jun 18, 2024
bozana
added a commit
to bozana/ops
that referenced
this issue
Jun 18, 2024
bozana
added a commit
to bozana/ops
that referenced
this issue
Jun 18, 2024
@jonasraoni, could you please take a look at the PRs above? |
bozana
added a commit
to pkp/ops
that referenced
this issue
Jun 19, 2024
pkp/pkp-lib#10082 Fix getTotalGalleyViews()
bozana
added a commit
to pkp/ops
that referenced
this issue
Jun 19, 2024
pkp/pkp-lib#10082 consider same file IDs in getTotalGalleyViews()
bozana
added a commit
to pkp/ops
that referenced
this issue
Jun 19, 2024
pkp/pkp-lib#10082 consider same file IDs in getTotalGalleyViews()
Thanks a lot @jonasraoni! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
s. https://forum.pkp.sfu.ca/t/duplicate-galley-view-counts/88363
When creating a new version of a preprint (and article) a new galley is created that points to/contains the same file ID as the previous galley. This function getTotalGalleyViews (s. https://github.com/pkp/ops/blob/stable-3_3_0/classes/submission/Submission.inc.php#L251) does not consider it however, which leads to wrong vies numbers.
PRs:
stable-3_3_0: pkp/ops#708
stable-3_4_0: pkp/ops#709
main: pkp/ops#710
The text was updated successfully, but these errors were encountered: