Hello @prevoj
Welcome to the Bacularis User Group.
Thank you for your feature request. Yes, I think this is a good idea to have an option to set number of jobs on the dashboard.
At the moment I added this option to the Application settings page. This is named Number of latest jobs in table on dashboard
and will be available in the next Bacularis release.
In the GitHub repo this change will be available very soon. I will let know here when I push this change there.
If you are interested a temporary patch you can update a value in the patch below. Here is an example for changing it to 17 jobs in table:
diff --git a/Web/JavaScript/misc.js b/Web/JavaScript/misc.js
index 48df539..31c7a70 100644
--- a/Web/JavaScript/misc.js
+++ b/Web/JavaScript/misc.js
@@ -1125,7 +1125,7 @@ var Dashboard = {
},
update_job_access: function() {
// get last 15 jobs
- var data = this.stats.jobs.slice(0, 15);
+ var data = this.stats.jobs.slice(0, 17);
$(function() {
oLastJobsList.init(data);
});
The file that needs to be patched you can find here:
[PROJECT_DIR]/protected/Web/JavaScript/misc.js
For installation with binary packages, this is path:
/usr/share/bacularis/protected/Web/JavaScript/misc.js
After changing it, please don't forget to clear the web browser cache because this is a javascript file that is cacheable.
Thanks!
Best regards,
Marcin Haba (gani)