Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor bug fixes and features adjustments. (#154)
- Fix #149 Guessing the registration URL allows circumventing the log start date bug - Add direct-link search for Events (by system, branch, or search string) - Add direct-link search for Challenges (by search string) - Unify badge detail logic (was in two places) - When badge details show an event, add a link to search for that event - Fixed #153, "Award Name" should say "Avatar Name" - Fixed #151, "Reading goal should only use points earned by reading" - Fixed #52, Program flag "Allow Patron to enter book review" now provides field.
- Loading branch information
1 parent
8fd1f03
commit 512183c
Showing
20 changed files
with
256 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
GRA.Database/dbo/Stored Procedures/app_PatronPoints_GetPatronReadingPoints.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
/****** Object: StoredProcedure [dbo].[app_PatronPoints_GetPatronReadingPoints] Script Date: 01/05/2015 14:43:23 ******/ | ||
--Create the Insert Proc | ||
CREATE PROCEDURE [dbo].[app_PatronPoints_GetPatronReadingPoints] (@PID INT) | ||
AS | ||
BEGIN | ||
IF ( | ||
EXISTS ( | ||
SELECT isnull(SUM(isnull(NumPoints, 0)), 0) AS TotalPoints | ||
FROM PatronPoints | ||
WHERE PID = @PID AND AwardReasonCd = 0 | ||
) | ||
) | ||
SELECT isnull(SUM(isnull(NumPoints, 0)), 0) AS TotalPoints | ||
FROM PatronPoints | ||
WHERE PID = @PID AND AwardReasonCd = 0 | ||
ELSE | ||
SELECT 0 AS TotalPoints | ||
END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.