ondrejklejch / MT-ComparEval

Tool for comparison and evaluation of machine translation.
Apache License 2.0
56 stars 14 forks source link

Basic ordering of experiments #16

Closed lefterav closed 9 years ago

lefterav commented 9 years ago

Experiments in main screen are ordered in an arbitrary way. I was not able to find a way to manipulate the order that the experiments are displayed (e.g. by modifying the name or their order in the hard disk folder).

What I did as a simple quick solution was to modify the code for retrieving the experiments, so that they are ordered by name. This makes it easier for the case of QTleap

app/model/Experiments.php:15 public function getExperiments() { return $this->db->table( 'experiments' ) ->where( 'visible', 1 ) ->order( 'name' );

I haven't yet had the opportunity to sync my local version (from the zip file) with the repository version, because this will most probably break the live qtleap website. So the code above has not been pushed yet. Feel free to modify yourself or I will do when I get into syncing.

ondrejklejch commented 9 years ago

Done in 7c9d562a75a89e6ae944ae74715ba72ee286d9cf.