r4045 Interface to renderSearchResults function was simplified: no more need to pass...
authorAlexey Andriyanov <alan@al-an.info>
Fri, 10 Dec 2010 09:55:27 +0000 (09:55 +0000)
committerAlexey Andriyanov <alan@al-an.info>
Fri, 10 Dec 2010 09:55:27 +0000 (09:55 +0000)
commit521cd29ae076c8a3cd0efb8d2f492d89505cf8c3
tree2c4dcffc69b77646c177b1cb3bbcad7ed431e410
parent3bcdacf625a2a91c83c403e49bd920d7410e3664
r4045 Interface to renderSearchResults function was simplified: no more need to pass nhits and lasthit
Possibility of dupes in search results eliminated by indexing by entity id
bugfix: create IPv4 network button, if pressed to open in a new window, was redirecting the parent window, too
bugfix: when searching for IP not belonging to any known network, the ugly assertion failed page was shown.
update: links to ports added to object search results
update: custom rearch results provided by users' plugins now supported

inc/interface.php:
 renderSearchResults: parameters were simplified, unknown IP bug was fixed, custom search results supported, links to ports added
 renderPortOIFCompatEditor: bug fixed with nested <input> into <a> (parent page redirection)
 printIPNetInfoTDs: idem
 renderPortIFCompatEditor: idem

inc/database.php:
 getIPv4PrefixSearchResult: indexing results by id, for simplifying duplicates management in search results
 getIPv4AddressSearchResult: idem
 getIPv6AddressSearchResult: idem
 getIPv4RSPoolSearchResult: idem
 getIPv4VServiceSearchResult: idem
 getFileSearchResult: idem
 getVLANSearchResult: idem
 getAccountSearchResult: idem, mergind code updated to reflect indexing changes

inc/functions.php:
 searchEntitiesByText: removed nhits and lasthit calculation and returning
ChangeLog
inc/database.php
inc/functions.php
inc/interface.php