added the functionality to search on basis of age in "Browse the Library" part.
Added a field for age entry in "advanced search" in "Browse the Library" part. On basis of this information only those books are shown as a result of search that are appropriate for a given age.
Description
Interface of "advanced search" in "browse the library section" has one additional field for age entry. If the entered age is not null then only those books that fulfill this criteria:
Books that have non-null information in the fields "Reader Age (Youngest)", "Reader Age (Oldest)", AND
"Reader Age (Youngest)" <= Entered Age <= "Reader Age (Oldest)"
DB structure is not changed.
(Just a heads up, this is my first try with PHP, so make sure to give it a good look before merging. Cheers!)
Motivation and Context
An example: the books that are readable by a 5 y.o. are very different than those that are readable by a 9 y.o. Also vice versa.
Since in our school, we have children from 5 all the way to 20, so it made sense to be able to efficiently filter on this basis.
How Has This Been Tested?
tested on sample data included in the gibbon
added the functionality to search on basis of age in "Browse the Library" part.
Added a field for age entry in "advanced search" in "Browse the Library" part. On basis of this information only those books are shown as a result of search that are appropriate for a given age.
Description Interface of "advanced search" in "browse the library section" has one additional field for age entry. If the entered age is not null then only those books that fulfill this criteria:
Motivation and Context An example: the books that are readable by a 5 y.o. are very different than those that are readable by a 9 y.o. Also vice versa. Since in our school, we have children from 5 all the way to 20, so it made sense to be able to efficiently filter on this basis.
How Has This Been Tested? tested on sample data included in the gibbon
Screenshots