diff options
author | Sashi20 | 2022-11-16 14:27:10 +0530 |
---|---|---|
committer | Sashi20 | 2022-11-16 14:27:10 +0530 |
commit | f8b4151e05f3953385636e2538547a58d0c1fcb3 (patch) | |
tree | 9f7570a2e446c3a7c5593ae3bddb10eb52278f94 | |
parent | 8d9170d48e3afd8b606bfd498cc4f3b6fd90df1a (diff) | |
download | esim_hackathon_submission-f8b4151e05f3953385636e2538547a58d0c1fcb3.tar.gz esim_hackathon_submission-f8b4151e05f3953385636e2538547a58d0c1fcb3.tar.bz2 esim_hackathon_submission-f8b4151e05f3953385636e2538547a58d0c1fcb3.zip |
Display completed circuits in descending order
-rw-r--r-- | hackathon_submission.module | 4 |
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', |