Skip to content
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

776 bug in mod book chapter viewed #40

Conversation

ScottVerbeek
Copy link

@ScottVerbeek ScottVerbeek commented Nov 28, 2023

Description

 SELECT id, bookid, pagenum, subchapter, title FROM mdl_book_chapters ORDER BY pagenum;                  
 id | bookid | pagenum | subchapter |         title         
----+--------+---------+------------+-----------------------
  1 |      1 |       1 |          0 | Chapter 1
  2 |      1 |       2 |          1 | Chapter 1.1
  3 |      1 |       3 |          1 | Chapter 1.2
  4 |      1 |       4 |          1 | Chapter 1.3
  6 |      1 |       5 |          1 | Chapter 1.4 (was 2.1)
  5 |      1 |       6 |          0 | Chapter 2
(6 rows)

Related Issues

PR Type

  • Fix and improvements

 - fixes duplicate records returning when multiple conditions for $query is passed
 - fixes records returning when not all conditions are met in $query
@ScottVerbeek ScottVerbeek force-pushed the upstream-fixes-and-issue-776-merge-branch branch from 1cca805 to cdbc647 Compare November 29, 2023 02:14
@ScottVerbeek ScottVerbeek changed the title Upstream fixes and issue 776 bug in mod book chapter viewed 776 bug in mod book chapter viewed Nov 29, 2023
@ScottVerbeek
Copy link
Author

Reduced the scope of this to only target the mod_chapter problem. The other issues on upstream seem to already be resolved on this fork and contain changes for compatibility.

@rhell4 rhell4 merged commit a9a0302 into central-queensland-uni:master Nov 29, 2023
0 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants