To recerate: 1. Add some debit types that can be manually invoiced. 2. Go to members/maninvoice.pl?borrowernumber=X where X is your borrowernumber 3. In the type dropdown see that the entries are sorted by code not description.
Created attachment 189232 [details] [review] Bug 41212: Sort debit_types for manual invoice by description To test: 1. Add some debit types that can be manually invoiced. 2. Go to members/maninvoice.pl?borrowernumber=X where X is your borrowernumber 3. In the type dropdown see that the entries are sorted by code not description. 4. APPLY patch and restart_all 5. Try again, now it should sort by code.
Created attachment 189233 [details] [review] Bug 41212: Sort debit_types for manual invoice by description To test: 1. Add some debit types that can be manually invoiced. 2. Go to members/maninvoice.pl?borrowernumber=X where X is your borrowernumber 3. In the type dropdown see that the entries are sorted by code not description. 4. APPLY patch and restart_all 5. Try again, now it should sort by code.
This is a great idea and I fully support it but what I would like to see is a way to nest the types. For example Type 1 Type 2 Heading 1 Type 3 Type 4 Type 5 Type 6 I hope that makes sense.
Created attachment 189314 [details] [review] Bug 41212: Sort debit_types for manual invoice by description To test: 1. Add some debit types that can be manually invoiced. 2. Go to members/maninvoice.pl?borrowernumber=X where X is your borrowernumber 3. In the type dropdown see that the entries are sorted by code not description. 4. APPLY patch and restart_all 5. Try again, now it should sort by code. Signed-off-by: Owen Leonard <oleonard@myacpl.org>
(In reply to Ed Veal from comment #3) > This is a great idea and I fully support it but what I would like to see is > a way to nest the types. For example > > Type 1 > Type 2 > Heading 1 > Type 3 > Type 4 > Type 5 > Type 6 > > I hope that makes sense. Hey Ed, it makes sense. That sounds like an enhancement request, I'd encourage you to file a new bug for that!