projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0310ce7
)
Letter: model sortierung benutzen
author
Sven Schöling
<s.schoeling@linet-services.de>
Wed, 27 Jan 2016 14:14:39 +0000
(15:14 +0100)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Wed, 27 Jan 2016 14:22:47 +0000
(15:22 +0100)
SL/Controller/Letter.pm
patch
|
blob
|
history
diff --git
a/SL/Controller/Letter.pm
b/SL/Controller/Letter.pm
index
90fd26b
..
0f1a40f
100644
(file)
--- a/
SL/Controller/Letter.pm
+++ b/
SL/Controller/Letter.pm
@@
-542,13
+542,7
@@
sub init_models {
SL::Controller::Helper::GetModels->new(
controller => $self,
model => 'Letter',
- sorted => {
- _default => {
- by => 'letternumber',
- dir => 1,
- },
- %sort_columns,
- },
+ sorted => \%sort_columns,
with_objects => [ 'contact', 'salesman', 'employee' ],
);
}