Switch to unified view

a/bitergiametrics/main.py b/bitergiametrics/main.py
...
...
127
    @with_trailing_slash
127
    @with_trailing_slash
128
    def tickets_swscopio(self, page=0, limit=10, **kw):
128
    def tickets_swscopio(self, page=0, limit=10, **kw):
129
129
130
        # FIXME: SQL query to get the results            
130
        # FIXME: SQL query to get the results            
131
        tickets_per_month =  [
131
        tickets_per_month =  [
132
          ['23989','1999','1','Jan 1999','10','2','2','3'],
132
          # ['23989','1999','1','Jan 1999','10','2','2','3'],
133
          ['23990','1999','2','Feb 1999','15','2','2','3'],
133
          # ['23990','1999','2','Feb 1999','15','2','2','3'],
134
          ['23991','1999','3','Mar 1999','20','4','9','3'],
134
          # ['23991','1999','3','Mar 1999','20','4','9','3'],
135
          ['24135','2011','3','Mar 2011','56','6','23','12'],
136
          ['24136','2011','4','Apr 2011','89','7','30','15'],
137
          ['24137','2011','5','May 2011','210','6','23','12'],
138
          ['24138','2011','6','Jun 2011','300','7','30','15'],
139
          ['24139','2011','7','Jul 2011','215','6','23','12'],
140
          ['24140','2011','8','Aug 2011','120','7','30','15'],
141
          ['24141','2011','9','Sep 2011','100','6','23','12'],
142
          ['24142','2011','10','Oct 2011','20','7','30','15'],
143
          ['24143','2011','11','Nov 2011','18','6','23','12'],
144
          ['24144','2011','12','Dec 2011','45','7','30','15'],
145
          ['24145','2012','1','Jan 2012','40','6','23','12'],
146
          ['24146','2012','2','Feb 2012','37','7','30','15'],
135
          ['24147','2012','3','Mar 2012','120','6','23','12'],
147
          ['24147','2012','3','Mar 2012','89','6','23','12'],
136
          ['24148','2012','4','Apr 2012','150','7','30','15'],
148
          ['24148','2012','4','Apr 2012','121','7','30','15'],
137
        ]
149
        ]
138
            
150
            
139
        tickets_per_month_json = {}
151
        tickets_per_month_json = {}
140
        tickets_per_month_json['id'] = []
152
        tickets_per_month_json['id'] = []
141
        tickets_per_month_json['year'] = []
153
        tickets_per_month_json['year'] = []