mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2025-02-22 00:53:22 -05:00
Fixes order for transaction pull-down when it is > 9
This commit is contained in:
parent
10ac9f8410
commit
e1092d5085
@ -130,7 +130,7 @@ function list_shop_locations($form_name = "none", $default_value = ""){
|
||||
|
||||
// Function provides specific MySQL parameters to the function that generates the list box code
|
||||
function list_transaction_types($form_name = "none", $default_value = ""){
|
||||
$querySQL = "SELECT transaction_type_id FROM transaction_types ORDER BY rank, transaction_type_id;";
|
||||
$querySQL = "SELECT transaction_type_id FROM transaction_types ORDER BY rank + 0;";
|
||||
$list_value = "transaction_type_id";
|
||||
$list_text = "transaction_type_id";
|
||||
generate_list($querySQL,$list_value,$list_text,$form_name, $default_value);
|
||||
@ -428,4 +428,4 @@ function current_shop_by_ip(){
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user