System allows you to search without entering any search terms crashing the system

A place to discuss any bugs or issues you have encountered with the software
Post Reply [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
User avatar
robinwilson16
Site Admin
Posts: 185
Joined: Sun Oct 16, 2016 6:46 pm
Forename: Robin
Surname: Wilson
College Name: FEA
Position: MIS Consultant
LinkedIn Profile: https://www.linkedin.com/in/robinwilson16
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

System allows you to search without entering any search terms crashing the system

Post by robinwilson16 » Wed Oct 19, 2016 6:03 pm

Screens in UNIT-e allow you to conduct a search when you have not entered any search terms.
This is effect searches the entire system attempting to bring back all records. :think:

The search button should not be live if no values have been entered or an error should be displayed telling you to first search for something.

senev777
Posts: 4
Joined: Wed Oct 19, 2016 9:36 am
Forename: Chaminda
Surname: Seneviratne
College Name: North Herfordshire College
Position: Consultant
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: System allows you to search without entering any search terms crashing the system

Post by senev777 » Fri Nov 18, 2016 9:33 am

I think it would be better to show an alert saying "Show all records" with option either to "Ok" or "Cancel". Show all option is useful in searching in small areas ( ie. Sites, Rooms Etc. ) definitely not in areas like students & enrolments.

User avatar
robinwilson16
Site Admin
Posts: 185
Joined: Sun Oct 16, 2016 6:46 pm
Forename: Robin
Surname: Wilson
College Name: FEA
Position: MIS Consultant
LinkedIn Profile: https://www.linkedin.com/in/robinwilson16
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Re: System allows you to search without entering any search terms crashing the system

Post by robinwilson16 » Sun Nov 20, 2016 2:15 pm

Hello Chaminda

Yes I think that would be a good idea so at least you would still have the option and better than just not allowing it.
It could say something like "Are you sure you want to return all records? - this may take a while and you may want to grab a coffee and come back in a bit!"

Also I find it annoying that when a drop-down only contains a few items you must always press the binoculars to search, enter %%, press OK for the drop-down to populate when you should just be able to drop it down straight away. :doh:

Post Reply
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1266: count(): Parameter must be an array or an object that implements Countable

Who is online

Users browsing this forum: No registered users and 1 guest