summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSashi202022-11-17 17:29:27 +0530
committerGitHub2022-11-17 17:29:27 +0530
commit1c9b686636acbfd8410ef89904b6bb369603bdfa (patch)
tree9f7570a2e446c3a7c5593ae3bddb10eb52278f94
parent147d6866d5780f6f5ed5bf65f2f17fbd3e5d4ea6 (diff)
parentf8b4151e05f3953385636e2538547a58d0c1fcb3 (diff)
downloadesim_hackathon_submission-1c9b686636acbfd8410ef89904b6bb369603bdfa.tar.gz
esim_hackathon_submission-1c9b686636acbfd8410ef89904b6bb369603bdfa.tar.bz2
esim_hackathon_submission-1c9b686636acbfd8410ef89904b6bb369603bdfa.zip
Merge pull request #36 from Sashi20/main
Display completed circuits in descending order
-rw-r--r--hackathon_submission.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/hackathon_submission.module b/hackathon_submission.module
index a9d5dac..6efa6bd 100644
--- a/hackathon_submission.module
+++ b/hackathon_submission.module
@@ -578,7 +578,7 @@ function hackathon_submission_completed_circuits()
$query->fields('hackathon_completed_circuits');
$result = $query->execute();
//var_dump($result->rowCount());die;
- $i = 1;
+ $i = $result->rowCount();
$page_content .= "FOSSEE Project in collaboration with VLSI System Design (VSD) Corp. Pvt. Ltd and the Ministry of Education, Govt. of India conducted a 2-weeks high intensity eSim Circuit Design and Simulation Marathon using Skywater 130nm technology, a fully open source process design kit. Close to 3000+ students from all over India participated in this Marathon and close to 200+ students completed this marathon with brilliant circuit design ideas. The following participants have successfully completed designing the circuits. More details about this event can be found here: <a href='https://hackathon.fossee.in/esim/2021' target='_blank'>https://hackathon.fossee.in/esim/2021</a>.<hr>";
$preference_rows = array();
while($row_completed_circuits = $result->fetchObject())
@@ -599,7 +599,7 @@ function hackathon_submission_completed_circuits()
);
} //$row = $result->fetchObject()
- $i++;
+ $i--;
}
$preference_header = array(
'No',