diff options
author | Paul 'flowerysong' Arthur <flowerysong00@yahoo.com> | 2010-03-23 02:21:54 +0000 |
---|---|---|
committer | Paul 'flowerysong' Arthur <flowerysong00@yahoo.com> | 2010-03-23 02:21:54 +0000 |
commit | c2c6749475148c4dbda371677d43bbb7a37ff4bd (patch) | |
tree | cf6a2bffa35e8c18492e1e866ba832240b9f108e /templates/show_search.inc.php | |
parent | bf3e739449f524805a8e01a7c41917cc48504fe8 (diff) | |
download | ampache-c2c6749475148c4dbda371677d43bbb7a37ff4bd.tar.gz ampache-c2c6749475148c4dbda371677d43bbb7a37ff4bd.tar.bz2 ampache-c2c6749475148c4dbda371677d43bbb7a37ff4bd.zip |
Enhanced rating search; uses correct algorithm for calculation, allows
specification of the operator.
Diffstat (limited to 'templates/show_search.inc.php')
-rw-r--r-- | templates/show_search.inc.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/show_search.inc.php b/templates/show_search.inc.php index 1cba5861..a1b8da5a 100644 --- a/templates/show_search.inc.php +++ b/templates/show_search.inc.php @@ -104,6 +104,11 @@ <tr class="<?php echo flip_class(); ?>"> <td><?php echo _('Rating'); ?></td> <td> + <select id="s_rating_operator" name="s_rating_operator"> + <option value="0" <?php if($_REQUEST['s_rating_operator']=="0") echo "selected=\"selected\""?>><?php echo _('>='); ?></option> + <option value="1" <?php if($_REQUEST['s_rating_operator']=="1") echo "selected=\"selected\""?>><?php echo _('<='); ?></option> + <option value="2" <?php if($_REQUEST['s_rating_operator']=="2") echo "selected=\"selected\""?>><?php echo _('='); ?></option> + </select> <select id="s_rating" name="s_rating"> <option value=""> </option> <option value="1" <?php if($_REQUEST['s_rating']=="1") echo "selected=\"selected\""?>><?php echo _('One Star'); ?></option> |