SuccessChanges

Summary

  1. tsk15 Corrects the methods exploreStories and calculateNumPagesExplore (details)
  2. tsk15 Add more tests for story exploration (details)
  3. tsk34 Fixes getStoriesByUser and calculateNumPagesStoriesByUser methods (details)
  4. fix: Fixes the searchStories and calculateNumPagesSearch methods (details)
Commit 291bce81958accbbef9426256b93ffa2a614a810 by ifmarinho
tsk15 Corrects the methods exploreStories and calculateNumPagesExplore
Modifies the exploreStories method to use TypedQuery's setMaxResults and
setFirstResults methods when getting the stories corresponding to each
page
Modifies the calculateNumPagesExplore method to use a specific query to
count the number of items (COUNT query)
The file was modifiedservice/src/main/java/es/uvigo/esei/dgss/teamB/microstories/service/StoryService.java
Commit 04a2c04ec3001020b98c0f1f01332d6be2db2bee by ifmarinho
tsk15 Add more tests for story exploration
Add more tests to check different combinations to obtain the number of
pages according to the options chosen in the filter (genre, topic and
publication)
The file was modifiedservice/src/main/java/es/uvigo/esei/dgss/teamB/microstories/service/StoryService.java
The file was modifiedservice/src/test/java/es/uvigo/esei/dgss/teamB/microstories/service/StoryServiceTest.java
Commit 05d29c3b5dd4ea421e7824384feaea06803f06aa by ifmarinho
tsk34 Fixes getStoriesByUser and calculateNumPagesStoriesByUser methods
Modifies the getStoriesByUser method to use TypedQuery's setMaxResults
and setFirstResults methods when getting the corresponding stories for
pagination
Modifies the calculateNumPagesStoriesByUser method to use a specific
query to count the number of items (COUNT query)
The file was modifiedservice/src/main/java/es/uvigo/esei/dgss/teamB/microstories/service/StoryService.java
Commit f299bb130ffef0ddc03752979a1b15b2e727a6d7 by ifmarinho
fix: Fixes the searchStories and calculateNumPagesSearch methods
Modifies the searchStories method to use TypedQuery's setMaxResults and
setFirstResults methods when retrieving stories taking pagination into
account
Modifies the calculateNumPagesSearch method to use a specific query to
count the number of items (COUNT query)
The file was modifiedservice/src/main/java/es/uvigo/esei/dgss/teamB/microstories/service/StoryService.java